100
Chapter 12. Tracepoints
d6
0xe0
224
d7
0x380035 3670069
a0
0x19e24a 1696330
a1
0x3000668
50333288
a2
0x100
256
a3
0x322000 3284992
a4
0x3000698
50333336
a5
0x1ad3cc 1758156
fp
0x30bf3c 0x30bf3c
sp
0x30bf34 0x30bf34
ps
0x0
0
pc
0x20b2c8 0x20b2c8
fpcontrol
0x0
0
fpstatus
0x0
0
fpiaddr
0x0
0
p = 0x20e5b4 "gdb-test"
p1 = (void *) 0x11
p2 = (void *) 0x22
p3 = (void *) 0x33
p4 = (void *) 0x44
p5 = (void *) 0x55
p6 = (void *) 0x66
gdb_long_test = 17 ’\021’
(gdb)
12.2.3.
save-tracepoints
filename
This command saves all current tracepoint definitions together with their actions and passcounts, into
a file
filename
suitable for use in a later debugging session. To read the saved tracepoint definitions,
use the
source
command (refer to Section 22.3
Command files
).
12.3. Convenience Variables for Tracepoints
(int) $trace_frame
The current trace snapshot (a.k.a.
frame
) number, or -1 if no snapshot is selected.
(int) $tracepoint
The tracepoint for the current trace snapshot.
(int) $trace_line
The line number for the current trace snapshot.
(char []) $trace_file
The source file for the current trace snapshot.
Summary of Contents for ENTERPRISE LINUX 4 - DEVELOPER TOOLS GUIDE
Page 1: ...Red Hat Enterprise Linux 4 Debugging with gdb ...
Page 12: ...2 Chapter 1 Debugging with gdb ...
Page 28: ...18 Chapter 4 Getting In and Out of gdb ...
Page 34: ...24 Chapter 5 gdb Commands ...
Page 44: ...34 Chapter 6 Running Programs Under gdb ...
Page 68: ...58 Chapter 8 Examining the Stack ...
Page 98: ...88 Chapter 10 Examining Data ...
Page 112: ...102 Chapter 12 Tracepoints ...
Page 118: ...108 Chapter 13 Debugging Programs That Use Overlays ...
Page 138: ...128 Chapter 14 Using gdb with Different Languages ...
Page 144: ...134 Chapter 15 Examining the Symbol Table ...
Page 170: ...160 Chapter 19 Debugging remote programs ...
Page 198: ...188 Chapter 21 Controlling gdb ...
Page 204: ...194 Chapter 22 Canned Sequences of Commands ...
Page 206: ...196 Chapter 23 Command Interpreters ...
Page 216: ...206 Chapter 25 Using gdb under gnu Emacs ...
Page 296: ...286 Chapter 27 gdb Annotations ...
Page 300: ...290 Chapter 28 Reporting Bugs in gdb ...
Page 322: ...312 Chapter 30 Using History Interactively ...
Page 362: ...352 Appendix D gdb Remote Serial Protocol ...
Page 380: ...370 Appendix F GNU GENERAL PUBLIC LICENSE ...
Page 386: ...376 Appendix G GNU Free Documentation License ...
Page 410: ......