HP gnu source-level debugger 5992-4701 manual File viewing commands

Models: gnu source-level debugger 5992-4701

1 369
Download 369 pages 58.54 Kb
Page 255
Image 255

Table 16-2 Window mode commands (continued)

XDB Command

WDB Equivalent

Meaning

gr

gr (with -xdb -tui),

Display general registers

 

display $regs (with -tui)

 

sr

sr (with -xdb -tui),

Display special registers

 

display $sregs (with

 

 

-tui)

 

td

td (with -xdb -tui)

Toggle disassembly mode

tf

tf (with -xdb -tui),

Toggle float register display

 

toggle $fregs (with -tui)

precision

ts

ts (with -xdb -tui)

Toggle split-screen mode

u

u (with -xdb -tui),

Update screen to current execution

 

update (with -tui)

point

V

U (with -xdb -tui),

Refresh all windows

 

refresh (with -tui)

 

w number

w number (with -xdb

Set size of source window

 

-tui), winheight src

 

 

number (with -tui)

 

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

XDB Command

WDB Equivalent

{+ -}[number]

{+ -}[ number] (with

 

-tui; note that a space

 

is required between + or

 

- and the number)

Meaning

Move view location forward or backward in source file number lines

/[string]

/[string] (with -xdb),

 

search

regexp, forw

 

regexp

 

Search source forward for [last] string

?[string]

?[string] (with -xdb),

Search source backward for [last]

 

rev regexp

string

D "dir"

D "dir" (with -xdb), dir

Add a directory search path for

 

pathname

source files

L

L (with -xdb)

Show current viewing location or

 

 

current point of execution

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

Page 255
Image 255
HP gnu source-level debugger 5992-4701 manual File viewing commands