Debugging with GDB (February 2008)

Table Of Contents
Chapter 16: XDB to WDB Transition Guide 227
z number r z number r (with -xdb), handle
number print, handle number
noprint
Toggle report flag for signal num-
ber
z number Q z number Q (with -xdb), handle
number 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 below:
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 [number] ... 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