Work around MinGW mangling of "host:/path"
[msysgit/historical-msysgit.git] / mingw / info / gdb / Filenames.html
blobd46b8dd0deb3d69589dca1174cab5c732ae33333
1 <html lang="en">
2 <head>
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">
8 </head>
9 <body>
10 <div class="node">
11 <p>
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>
15 <hr><br>
16 </div>
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.
23 <dl>
25 <br><dt><code>.c</code>
26 <dd>C source file
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>
43 <dd>CHILL source file
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.
52 </dl>
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>.
57 </body></html>