Debugging with GDB Manual (5900-1473; WDB 6.2; January 2011)

Table Of Contents
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, refer to the Getting Started with HP WDB.
“By-function lists of XDB commands and HP WDB equivalents” (page 256)
“Overall breakpoint commands” (page 263)
“XDB data formats and HP WDB equivalents” (page 269)
“XDB location syntax and HP WDB equivalents” (page 271)
“XDB special language operators and HP WDB equivalents” (page 271)
“XDB special variables and HP WDB equivalents” (page 272)
“XDB variable identifiers and HP WDB equivalents” (page 273)
Alphabetical lists of XDB commands and HP WDB equivalents” (page 273)
16.1 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 264)
256 XDB to HP WDB Transition Guide