Debugging with GDB Manual HP WDB v6.3 (5900-2180, August 2012)
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 203)
• “Overall breakpoint commands” (page 208)
• “XDB data formats and HP WDB equivalents” (page 213)
• “XDB location syntax and HP WDB equivalents” (page 214)
• “XDB special language operators and HP WDB equivalents” (page 214)
• “XDB special variables and HP WDB equivalents” (page 215)
• “XDB variable identifiers and HP WDB equivalents” (page 215)
• “Alphabetical lists of XDB commands and HP WDB equivalents” (page 216)
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 208)
• “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”
16.1 By-function lists of XDB commands and HP WDB equivalents 203