Initial bulk commit for "Git on MSys"
[msysgit/historical-msysgit.git] / mingw / info / gdb / Debugging-C.html
blob4283a21db245e6882e373b095ee986fff30298fa
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="Debugging%20C">Debugging C</a>,
13 Next:<a rel="next" accesskey="n" href="Debugging-C-plus-plus.html#Debugging%20C%20plus%20plus">Debugging C plus plus</a>,
14 Previous:<a rel="previous" accesskey="p" href="C-Checks.html#C%20Checks">C Checks</a>,
15 Up:<a rel="up" accesskey="u" href="C.html#C">C</a>
16 <hr><br>
17 </div>
19 <h5 class="subsubsection">GDB and C</h5>
21 <p>The <code>set print union</code> and <code>show print union</code> commands apply to
22 the <code>union</code> type. When set to <code>on</code>, any <code>union</code> that is
23 inside a <code>struct</code> or <code>class</code> is also printed. Otherwise, it
24 appears as <code>{...}</code>.
26 <p>The <code>@</code> operator aids in the debugging of dynamic arrays, formed
27 with pointers and a memory allocation function. See <a href="Expressions.html#Expressions">Expressions</a>.
29 <ul class="menu">
30 <li><a accesskey="1" href="Debugging-C-plus-plus.html#Debugging%20C%20plus%20plus">Debugging C plus plus</a>:
31 </ul>
33 </body></html>