Contents|Index|Previous|Next
Supported languages

GDB 4 supports C, C++, and Modula-2. 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. See the following documentation for details to what degree each source language is supported by GDB. The documentation is not meant to be language tutorials or references, since it only serves as a guide to what the GDB expression parser accepts, and what input and output formats should look like for different languages.

Top|Contents|Index|Previous|Next