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=
"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>
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>.
30 <li><a accesskey=
"1" href=
"Debugging-C-plus-plus.html#Debugging%20C%20plus%20plus">Debugging C plus plus
</a>: