Initial bulk commit for "Git on MSys"
[msysgit/historical-msysgit.git] / mingw / info / gdb / tdump.html
blobc9aa8c65096b607095a5060f76e0fa2fece9f250
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="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>
16 <hr><br>
17 </div>
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>
25 (gdb) <b>actions</b>
26 Enter actions for tracepoint #2, one per line:
27 &gt; collect $regs, $locals, $args, gdb_long_test
28 &gt; end
30 (gdb) <b>tstart</b>
32 (gdb) <b>tfind line 444</b>
33 #0 gdb_test (p1=0x11, p2=0x22, p3=0x33, p4=0x44, p5=0x55, p6=0x66)
34 at gdb_test.c:444
35 444 printp( "%s: arguments = 0x%X 0x%X 0x%X 0x%X 0x%X 0x%X\n", )
37 (gdb) <b>tdump</b>
38 Data collected at tracepoint 2, trace frame 1:
39 d0 0xc4aa0085 -995491707
40 d1 0x18 24
41 d2 0x80 128
42 d3 0x33 51
43 d4 0x71aea3d 119204413
44 d5 0x22 34
45 d6 0xe0 224
46 d7 0x380035 3670069
47 a0 0x19e24a 1696330
48 a1 0x3000668 50333288
49 a2 0x100 256
50 a3 0x322000 3284992
51 a4 0x3000698 50333336
52 a5 0x1ad3cc 1758156
53 fp 0x30bf3c 0x30bf3c
54 sp 0x30bf34 0x30bf34
55 ps 0x0 0
56 pc 0x20b2c8 0x20b2c8
57 fpcontrol 0x0 0
58 fpstatus 0x0 0
59 fpiaddr 0x0 0
60 p = 0x20e5b4 "gdb-test"
61 p1 = (void *) 0x11
62 p2 = (void *) 0x22
63 p3 = (void *) 0x33
64 p4 = (void *) 0x44
65 p5 = (void *) 0x55
66 p6 = (void *) 0x66
67 gdb_long_test = 17 '\021'
69 (gdb)
70 </pre>
72 </body></html>