Table
XDB Command | WDB Equivalent | Meaning |
! cmd line | ! cmd line (with | Invoke a shell |
| cmd line |
|
|
|
|
{cmd list} | commands [number] ... end | Execute command list (group |
|
| commands) |
|
|
|
Interrupt the program | ||
|
|
|
# [text] | # [text] | A comment |
|
|
|
am | am (with | Activate more (turn on pagination) |
| num |
|
|
|
|
f | No equivalent | Set address printing format |
|
|
|
h | h | Help |
|
|
|
M[{t c} [expr[; | No equivalent | Print object or corefile map |
expr...]]] |
|
|
|
|
|
q | q | Quit debugger |
|
|
|
sm | sm (with | Suspend more (turn o pagination) |
|
|
|
ss file | No equivalent | Save (breakpoint, macro, assertion) |
|
| state |
|
|
|
tc | No equivalent | Toggle case sensitivity in searches |
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
XDB Command | WDB Equivalent | Meaning |
|
|
|
b | d | Byte in decimal |
|
|
|
B (1) | d | Byte in decimal |
|
|
|
c | c | Character |
|
|
|
C (1) | c | Wide character |
|
|
|
266 XDB to WDB Transition Guide