Debugging with GDB (September 2007)
Chapter 16: XDB to WDB Transition Guide 223
z numb e r r z numb e r r (with -xdb), handle
numb e r print, handle numbe r
noprint
Toggle report flag for signal num-
ber
z numb e r Q z numb e r Q (with -xdb), handle
numb e r noprint
Do not print the new state of the
signal
16.2.10 Miscellaneous commands
Some of the additional XDB and the equivalent WDB commands are discussed b elow:
XDB Command WDB Equivalent Meaning
Return Return Repeat previous command
~ Return Repeat previous command
; No equivalent (one command per
line in command list)
Separate commands in command
list
! cmd line ! cmd line (with -xdb), she
cmd line
Invoke a shell
{cmd list} commands [numbe r] ... end Execute command list (group
commands)
Control-C Control-C Interrupt the program
# [text] # [text] A comment
am am (with -xdb), set height num Activate more (turn on pagina-
tion)
f ["printf-style-
fmt"]
No equivalent Set address printing format
h h Help
M[{t | c} [expr[;
expr...]]]
No equivalent Print object or corefile map