OAR

RTEMS GNU Tools On-Line Library


Support

PREV UP next Bookshelf Debugging with GDB

9.4: Supported languages

GDB supports C, C++, Fortran, Java, Chill, assembly, 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.

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.

  • C C and C++
  • Modula-2 Modula-2
  • Chill Chill

  • PREV UP next Bookshelf Debugging with GDB

    Packaging copyright © 1988-2000 OAR Corporation
    Context copyright by each document's author. See Free Software Foundation for information.