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=
"Listing%20Tracepoints">Listing Tracepoints
</a>,
13 Next:
<a rel=
"next" accesskey=
"n" href=
"Starting-and-Stopping-Trace-Experiment.html#Starting%20and%20Stopping%20Trace%20Experiment">Starting and Stopping Trace Experiment
</a>,
14 Previous:
<a rel=
"previous" accesskey=
"p" href=
"Tracepoint-Actions.html#Tracepoint%20Actions">Tracepoint Actions
</a>,
15 Up:
<a rel=
"up" accesskey=
"u" href=
"Set-Tracepoints.html#Set%20Tracepoints">Set Tracepoints
</a>
19 <h4 class=
"subsection">Listing Tracepoints
</h4>
22 <dt><code>info tracepoints
</code>[
<code></code><var>num
</var><code></code>]
<code></code>
23 <dd>Display information about the tracepoint
<var>num
</var>. If you don't specify
24 a tracepoint number, displays information about all the tracepoints
25 defined so far. For each tracepoint, the following information is
30 <li>whether it is enabled or disabled
32 <li>its passcount as given by the
<code>passcount
</code><var>n
</var><code></code> command
33 <li>its step count as given by the
<code>while-stepping
</code><var>n
</var><code></code> command
34 <li>where in the source files is the tracepoint set
35 <li>its action list as given by the
<code>actions
</code> command
38 <pre class=
"smallexample"> (gdb)
<b>info trace
</b>
39 Num Enb Address PassC StepC What
40 1 y
0x002117c4 0 0 <gdb_asm
>
41 2 y
0x0020dc64 0 0 in g_test at g_test.c:
1375
42 3 y
0x0020b1f4 0 0 in get_data at ../foo.c:
41
46 <p>This command can be abbreviated
<code>info tp
</code>.