manpagez: man pages & more
info gdb
Home | html | info | man
[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

12.1.1 List of Filename Extensions and Languages

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

.ada
.ads
.adb
.a

Ada source file.

.c

C source file

.C
.cc
.cp
.cpp
.cxx
.c++

C++ source file

.m

Objective-C source file

.f
.F

Fortran source file

.mod

Modula-2 source file

.s
.S

Assembler source file. This actually behaves almost like C, but No value for GDBN does not skip over function prologues when stepping.

In addition, you may set the language associated with a filename extension. See section Displaying the Language.


© manpagez.com 2000-2024
Individual documents may contain additional copyright information.