HP (Hewlett-Packard) 5992-4701 Computer Hardware User Manual


 
Table 16-15 Miscellaneous commands (continued)
MeaningWDB 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 program
Control-CControl-C
A comment
# [text]# [text]
Activate more (turn on pagination)
am (with -xdb), set height
num
am
Set address printing formatNo equivalent
f ["printf-style- fmt"]
Help
hh
Print object or corefile mapNo equivalent
M[{t | c} [expr[;
expr...]]]
Quit debugger
qq
Suspend more (turn o pagination)
sm (with -xdb), set height 0sm
Save (breakpoint, macro, assertion)
state
No equivalent
ss file
Toggle case sensitivity in searchesNo 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
MeaningWDB EquivalentXDB Command
Byte in decimald
b
Byte in decimal
dB (1)
Characterc
c
Wide characterc
C (1)
266 XDB to WDB Transition Guide