HP (Hewlett-Packard) 5992-4701 Computer Hardware User Manual


 
“Assertion control commands”
“Record and playback commands”
“Macro facility commands”
“Signal control commands”
“Miscellaneous commands”
16.1.1 Invocation commands
By default, HP WDB runs in line mode. To run it with a terminal user interface similar
to that of XDB, use the -tui option.
The following table lists the XDB and the equivalent WDB commands for invoking the
terminal user interface:
Table 16-1 Invocation commands
MeaningWDB EquivalentXDB Command
Debug program
gdb -xdb program, gdb -xdb
-tui program
xdb program
Debug core file
gdb -xdb program -c
corefile
xdb program corefile
Specify alternate directory to
search for source files
gdb -xdb -d dirxdb -d dir
Attach to running pro- gram at
invocation
gdb -xdb program pidxdb -P pid program
Specify input to target program
(after starting) run < filexdb -i
Specify output from target
program
(after starting) run > filexdb -o
16.1.2 Window mode commands
The following commands are TUI mode or XDB compatibility mode commands. They
are available when you invoke WDB by using the -tui or -xdb or both options.
Table 16-2 Window mode commands
MeaningWDB EquivalentXDB Command
Scroll floating-point registers
forward or backward (src, cmd,
and asm are also valid window
names)
{+ | -}r (with -xdb
-tui), {+ | -} data (with
-tui), gdb -xdb -tui
program
{+ | -}r
Display floating-point registers
fr (with -xdb -tui),
display $fregs (with
-tui)
fr
254 XDB to WDB Transition Guide