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

Table Of Contents
Table 4 Window mode commands
MeaningHP WDB 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 registersfr (with -xdb -tui),
display $fregs (with
-tui)
fr
Display general registersgr (with -xdb -tui),
display $regs (with -tui)
gr
Display special registerssr (with -xdb -tui),
display $sregs (with
-tui)
sr
Toggle disassembly modetd (with -xdb -tui)td
Toggle float register display
precision
tf (with -xdb -tui),
toggle $fregs (with -tui)
tf
Toggle split-screen modets (with -xdb -tui)ts
Update screen to current execution
point
u (with -xdb -tui),
update (with -tui)
u
Refresh all windowsU (with -xdb -tui),
refresh (with -tui)
V
Set size of source windoww number (with -xdb
-tui), winheight src
number (with -tui)
w number
16.1.3 File viewing commands
The following table lists the XDB and the equivalent HP WDB commands for viewing
source files:
Table 5 File viewing commands
MeaningHP WDB EquivalentXDB Command
Move view location forward or
backward in source file number
lines
{+ | -}[ number] (with
-tui; note that a space
is required between + or
- and the number)
{+ | -}[number]
Search source forward for [last]
string
/[string] (with -xdb),
search regexp, forw
regexp
/[string]
258 XDB to HP WDB Transition Guide