Initial bulk commit for "Git on MSys"
[msysgit/historical-msysgit.git] / mingw / info / gdb / C-Defaults.html
blobedb3df191763ea3f3b3a4b48d34610ff24d84293
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="C%20Defaults">C Defaults</a>,
13 Next:<a rel="next" accesskey="n" href="C-Checks.html#C%20Checks">C Checks</a>,
14 Previous:<a rel="previous" accesskey="p" href="C-plus-plus-expressions.html#C%20plus%20plus%20expressions">C plus plus expressions</a>,
15 Up:<a rel="up" accesskey="u" href="C.html#C">C</a>
16 <hr><br>
17 </div>
19 <h5 class="subsubsection">C and C<tt>++</tt> defaults</h5>
21 <p>If you allow GDB to set type and range checking automatically, they
22 both default to <code>off</code> whenever the working language changes to
23 C or C<tt>++</tt>. This happens regardless of whether you or GDB
24 selects the working language.
26 <p>If you allow GDB to set the language automatically, it
27 recognizes source files whose names end with <code>.c</code>, <code>.C</code>, or
28 <code>.cc</code>, etc, and when GDB enters code compiled from one of
29 these files, it sets the working language to C or C<tt>++</tt>.
30 See <a href="Automatically.html#Automatically">Having GDB infer the source language</a>,
31 for further details.
33 </body></html>