Next: Unsupported Languages, Previous: Checks, Up: Languages

### 15.4 Supported Languages

gdb supports C, C`++`, D, Objective-C, Fortran, Java, Pascal, assembly, Modula-2, and Ada. Some gdb features may be used in expressions regardless of the language you use: the gdb `@` and `::` operators, and the ‘`{type}addr`’ construct (see Expressions) can be used with the constructs of any supported language.

The following sections detail to what degree each source language is supported by gdb. These sections are not meant to be language tutorials or references, but serve only as a reference guide to what the gdb expression parser accepts, and what input and output formats should look like for different languages. There are many good books written on each of these languages; please look to these for a language reference or tutorial.