3 <title>Debugging with GDB
</title>
4 <meta http-equiv=
"Content-Type" content=
"text/html">
5 <meta name=
"description" content=
"Debugging with GDB">
6 <meta name=
"generator" content=
"makeinfo 4.3">
7 <link href=
"http://www.gnu.org/software/texinfo/" rel=
"generator-home">
12 Node:
<a name=
"Filenames">Filenames
</a>,
13 Next:
<a rel=
"next" accesskey=
"n" href=
"Manually.html#Manually">Manually
</a>,
14 Up:
<a rel=
"up" accesskey=
"u" href=
"Setting.html#Setting">Setting
</a>
18 <h4 class=
"subsection">List of filename extensions and languages
</h4>
20 <p>If a source file name ends in one of the following extensions, then
21 GDB infers that its language is the one indicated.
25 <br><dt><code>.c
</code>
28 <br><dt><code>.C
</code>
29 <dd><dt><code>.cc
</code>
30 <dd><dt><code>.cp
</code>
31 <dd><dt><code>.cpp
</code>
32 <dd><dt><code>.cxx
</code>
33 <dd><dt><code>.c++
</code>
34 <dd>C
<tt>++
</tt> source file
36 <br><dt><code>.f
</code>
37 <dd><dt><code>.F
</code>
38 <dd>Fortran source file
40 <br><dt><code>.ch
</code>
41 <dd><dt><code>.c186
</code>
42 <dd><dt><code>.c286
</code>
45 <br><dt><code>.mod
</code>
46 <dd>Modula-
2 source file
48 <br><dt><code>.s
</code>
49 <dd><dt><code>.S
</code>
50 <dd>Assembler source file. This actually behaves almost like C, but
51 GDB does not skip over function prologues when stepping.
54 <p>In addition, you may set the language associated with a filename
55 extension. See
<a href=
"Show.html#Show">Displaying the language
</a>.