Debugging with GDB (September 2007)

224 Debugging with GDB
q q Quit debugger
sm sm (with -xdb), set height 0 Suspend more (turn off pagina-
tion)
ss file No equivalent Save (breakpoint, macro, asser-
tion) 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:
XDB Command WDB Equivalent Meaning
b d Byte in decimal
B (1) d Byte in decimal
c c Character
C (1) c Wide character
d d Decimal integer
D (1) d Long decimal integer
e No equivalent e floating-point notation as float