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=
"Displays">Displays
</a>,
13 Next:
<a rel=
"next" accesskey=
"n" href=
"Prompting.html#Prompting">Prompting
</a>,
14 Previous:
<a rel=
"previous" accesskey=
"p" href=
"Frame-Annotations.html#Frame%20Annotations">Frame Annotations
</a>,
15 Up:
<a rel=
"up" accesskey=
"u" href=
"Annotations.html#Annotations">Annotations
</a>
19 <h3 class=
"section">Displays
</h3>
21 <p>When GDB is told to display something using the
<code>display
</code> command,
22 the results of the display are annotated:
24 <pre class=
"smallexample"> ^Z^Zdisplay-begin
26 ^Z^Zdisplay-number-end
27 <var>number-separator
</var>
30 ^Z^Zdisplay-expression
32 ^Z^Zdisplay-expression-end
33 <var>expression-separator
</var>
39 <p>where
<var>number
</var> is the number of the display,
<var>number-separator
</var>
40 is intended to separate the number from what follows for the user,
41 <var>format
</var> includes information such as the size, format, or other
42 information about how the value is being displayed,
<var>expression
</var> is
43 the expression being displayed,
<var>expression-separator
</var> is intended
44 to separate the expression from the text that follows for the user,
45 and
<var>value
</var> is the actual value being displayed.