HP gnu source-level debugger 5992-4701 Manuale Utente Pagina 254

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 369
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 253
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
Vedere la pagina 253
1 2 ... 249 250 251 252 253 254 255 256 257 258 259 ... 368 369

Commenti su questo manuale

Nessun commento