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=
"tdump">tdump
</a>,
13 Next:
<a rel=
"next" accesskey=
"n" href=
"save-tracepoints.html#save-tracepoints">save-tracepoints
</a>,
14 Previous:
<a rel=
"previous" accesskey=
"p" href=
"tfind.html#tfind">tfind
</a>,
15 Up:
<a rel=
"up" accesskey=
"u" href=
"Analyze-Collected-Data.html#Analyze%20Collected%20Data">Analyze Collected Data
</a>
19 <h4 class=
"subsection"><code>tdump
</code></h4>
21 <p>This command takes no arguments. It prints all the data collected at
22 the current trace snapshot.
24 <pre class=
"smallexample"> (gdb)
<b>trace
444</b>
26 Enter actions for tracepoint #
2, one per line:
27 > collect $regs, $locals, $args, gdb_long_test
32 (gdb)
<b>tfind line
444</b>
33 #
0 gdb_test (p1=
0x11, p2=
0x22, p3=
0x33, p4=
0x44, p5=
0x55, p6=
0x66)
35 444 printp(
"%s: arguments = 0x%X 0x%X 0x%X 0x%X 0x%X 0x%X\n", )
38 Data collected at tracepoint
2, trace frame
1:
39 d0
0xc4aa0085 -
995491707
43 d4
0x71aea3d 119204413
60 p =
0x20e5b4 "gdb-test"
67 gdb_long_test =
17 '\
021'