Debugging with GDB Manual The GNU Source-Level Debugger (769148-001, March 2014)

Table 17 Miscellaneous commands (continued)
MeaningHP WDB EquivalentXDB Command
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
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)
Decimal integerdd
Long decimal integerdD (1)
e Floating-point notation as floatNo equivalente
e Foating-point notation as doubleNo equivalentE (1)
f floating-point notation as floatNo equivalentf
f floating-point notation as doubleNo equivalentF (1)
g floating-point notation as floatfg
g floating-point notation as doublefG (1)
Machine instruction (disassembly)Use x/i commandi
Formatted structure displayNo equivalentk
Formatted structure display with base
classes
No equivalentK (1)
Normal (default) format, based on typeprintn
Expression in octal as integeroo
Expression in octal as long integeroO (1)
Print name of procedure containing
address
aP
XDB data formats and HP WDB equivalents 205