Initial bulk commit for "Git on MSys"
[msysgit/historical-msysgit.git] / mingw / info / gdb / Listing-Tracepoints.html
blobbbccd7bccb8571e3b139f950a887e2fcc5abea22
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="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>
16 <hr><br>
17 </div>
19 <h4 class="subsection">Listing Tracepoints</h4>
21 <dl>
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
26 shown:
28 <ul>
29 <li>its number
30 <li>whether it is enabled or disabled
31 <li>its address
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
36 </ul>
38 <pre class="smallexample"> (gdb) <b>info trace</b>
39 Num Enb Address PassC StepC What
40 1 y 0x002117c4 0 0 &lt;gdb_asm&gt;
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
43 (gdb)
44 </pre>
46 <p>This command can be abbreviated <code>info tp</code>.
47 </dl>
49 </body></html>