Work around MinGW mangling of "host:/path"
[msysgit/historical-msysgit.git] / mingw / info / gdb / Show.html
blob1d712211b90a7a5a3308d0945287e3ab74f28e48
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="Show">Show</a>,
13 Next:<a rel="next" accesskey="n" href="Checks.html#Checks">Checks</a>,
14 Previous:<a rel="previous" accesskey="p" href="Setting.html#Setting">Setting</a>,
15 Up:<a rel="up" accesskey="u" href="Languages.html#Languages">Languages</a>
16 <hr><br>
17 </div>
19 <h3 class="section">Displaying the language</h3>
21 <p>The following commands help you find out which language is the
22 working language, and also what language source files were written in.
24 <dl>
25 <dt><code>show language</code>
26 <dd>Display the current working language. This is the
27 language you can use with commands such as <code>print</code> to
28 build and compute expressions that may involve variables in your program.
30 <br><dt><code>info frame</code>
31 <dd>Display the source language for this frame. This language becomes the
32 working language if you use an identifier from this frame.
33 See <a href="Frame-Info.html#Frame%20Info">Information about a frame</a>, to identify the other
34 information listed here.
36 <br><dt><code>info source</code>
37 <dd>Display the source language of this source file.
38 See <a href="Symbols.html#Symbols">Examining the Symbol Table</a>, to identify the other
39 information listed here.
40 </dl>
42 <p>In unusual circumstances, you may have source files with extensions
43 not in the standard list. You can then set the extension associated
44 with a language explicitly:
46 <dl>
47 <dt><code>set extension-language </code><var>.ext</var><code> </code><var>language</var><code></code>
48 <dd>Set source files with extension <var>.ext</var> to be assumed to be in
49 the source language <var>language</var>.
51 <br><dt><code>info extensions</code>
52 <dd>List all the filename extensions and the associated languages.
53 </dl>
55 </body></html>