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

16 XDB to HP WDB Transition Guide
This transition aid is designed for XDB users who are learning HP WDB, an HP-supported version
of the industry-standard GDB debugger. Select one of these lists for a table that shows HP WDB
equivalents for many common XDB commands and other features.
Invoke HP WDB with the command gdb -tui to obtain a terminal user interface (TUI) similar to
that provided by XDB. Commands marked "(with -tui)" are valid when you use the -tui option.
Invoke HP WDB with the command gdb -xdb to turn on XDB compatibility mode, which enables
you to use many XDB commands as synonyms for GDB commands. Commands marked "(with
-xdb)" are valid when you use the -xdb option.
You may use both -xdb and -tui at the same time. Some commands are valid only when you
use both options.
For a tutorial introduction to HP WDB, see the Getting Started with HP WDB.
“By-function lists of XDB commands and HP WDB equivalents” (page 195)
“Overall breakpoint commands” (page 200)
“XDB data formats and HP WDB equivalents” (page 205)
“XDB location syntax and HP WDB equivalents” (page 206)
“XDB special language operators and HP WDB equivalents” (page 206)
“XDB special variables and HP WDB equivalents” (page 207)
“XDB variable identifiers and HP WDB equivalents” (page 207)
Alphabetical lists of XDB commands and HP WDB equivalents” (page 208)
By-function lists of XDB commands and HP WDB equivalents
“Invocation commands
“Window mode commands
“File viewing commands
“Source directory mapping commands
“Data Viewing and modification commands
“Stack viewing commands
“Status-viewing command”
“Job control commands
Auxiliary breakpoint commands” (page 200)
“Breakpoint creation commands
“Breakpoint status commands
All-procedures breakpoint commands
“Global breakpoint commands
Assertion control commands
“Record and playback commands
“Macro facility commands
“Signal control commands
“Miscellaneous commands
By-function lists of XDB commands and HP WDB equivalents 195