OAR

RTEMS GNU Tools On-Line Library


Filenames

prev UP NEXT Bookshelf Debugging with GDB

9.1.1: List of filename extensions and languages

If a source file name ends in one of the following extensions, then GDB infers that its language is the one indicated.

`.c'
C source file
`.C'
`.cc'
`.cp'
`.cpp'
`.cxx'
`.c++'
C++ source file
`.f'
`.F'
Fortran source file
`.ch'
`.c186'
`.c286'
CHILL source file
`.mod'
Modula-2 source file
`.s'
`.S'
Assembler source file. This actually behaves almost like C, but GDB does not skip over function prologues when stepping.

In addition, you may set the language associated with a filename extension. See Show.


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.