Debugging with GDB Manual (5900-1473; WDB 6.2; January 2011)

Table Of Contents
Table 17 Miscellaneous commands (continued)
MeaningHP WDB EquivalentXDB Command
Invoke a shell! cmd line (with -xdb), she
cmd line
! cmd line
Execute command list (group
commands)
commands [number] ... end{cmd list}
Interrupt the programControl-CControl-C
A comment# [text]# [text]
Activate more (turn on pagination)am (with -xdb), set height numam
Set address printing formatNo equivalentf ["printf-style- fmt"]
Helphh
Print object or corefile mapNo equivalentM[{t | c} [expr[;
expr...]]]
Quit debuggerqq
Suspend more (turn o pagination)sm (with -xdb), set height 0sm
Save (breakpoint, macro, assertion)
state
No equivalentss file
Toggle case sensitivity in searchesNo equivalenttc
16.3 XDB data formats and HP WDB equivalents
The format of the print command is different in XDB and GDB:
XDB: p expr\fmt
GDB: p/fmt expr
Use the set print pretty command to obtain a structured display similar to the
default XDB display.
The following table lists the XDB and equivalent HP WDB commands for setting data
display formats:
Table 18 Data format commands
MeaningHP WDB EquivalentXDB Command
Byte in decimaldb
Byte in decimaldB (1)
Charactercc
Wide charactercC (1)
16.3 XDB data formats and HP WDB equivalents 269