beautypg.com

3 file viewing commands, File viewing commands, Table 16-2 window mode commands (continued) – HP gnu source-level debugger 5992-4701 User Manual

Page 255

background image

Table 16-2 Window mode commands (continued)

Meaning

WDB Equivalent

XDB Command

Display general registers

gr (with -xdb -tui),
display $regs (with -tui)

gr

Display special registers

sr (with -xdb -tui),
display $sregs (with
-tui)

sr

Toggle disassembly mode

td (with -xdb -tui)

td

Toggle float register display
precision

tf (with -xdb -tui),
toggle $fregs (with -tui)

tf

Toggle split-screen mode

ts (with -xdb -tui)

ts

Update screen to current execution
point

u (with -xdb -tui),
update (with -tui)

u

Refresh all windows

U (with -xdb -tui),
refresh (with -tui)

V

Set size of source window

w 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 WDB commands for viewing
source files:

Table 16-3 File viewing commands

Meaning

WDB Equivalent

XDB 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]

Search source backward for [last]
string

?[string] (with -xdb),
rev regexp

?[string]

Add a directory search path for
source files

D "dir" (with -xdb), dir
pathname

D "dir"

Show current viewing location or
current point of execution

L (with -xdb)

L

16.1 By-function lists of XDB commands and HP WDB equivalents

255