3 xdb data formats and hp wdb equivalents, Data format commands, Table 16-15 miscellaneous commands (continued) – HP gnu source-level debugger 5992-4701 User Manual
Page 266

Table 16-15 Miscellaneous commands (continued)
Meaning
WDB Equivalent
XDB 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 program
Control-C
Control-C
A comment
# [text]
# [text]
Activate more (turn on pagination)
am
(with -xdb), set height
num
am
Set address printing format
No equivalent
f ["printf-style- fmt"]
Help
h
h
Print object or corefile map
No equivalent
M[{t | c} [expr[;
expr...]]]
Quit debugger
q
q
Suspend more (turn o pagination)
sm
(with -xdb), set height 0
sm
Save (breakpoint, macro, assertion)
state
No equivalent
ss file
Toggle case sensitivity in searches
No equivalent
tc
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 WDB commands for setting data
display formats:
Table 16-16 Data format commands
Meaning
WDB Equivalent
XDB Command
Byte in decimal
d
b
Byte in decimal
d
B (1)
Character
c
c
Wide character
c
C (1)
266
XDB to WDB Transition Guide