Table 16-4 Data viewing and modification commands

XDB Command

WDB Equivalent

Meaning

 

 

 

l

l (with -xdb),info args

Move view location forward or

 

followed by info locals

backward in source file number

 

 

lines

 

 

 

lc [string]

lc [string] (with -xdb),

Search source forward for [last]

 

info common string

string

 

 

 

lg [string]

lg [string] (with -xdb),

Search source backward for [last]

 

info variables [string]

string

 

 

 

ll [string]

info functions [string],

Add a directory search path for

 

info variables [string],

source files

 

maint print msymbols file

 

 

 

 

lm

show user

Show current viewing location or

 

 

current point of execution

 

 

 

lm string

show user string

List source directory search path

 

 

(list all directories)

 

 

 

lo [[class]::][string]

info func

List all source files

 

[[class]::][string]

 

 

 

 

lp

info functions

Show current scope, list program

 

 

blocks, list names (symbols)

 

 

 

lp [[class]::]string

info func

List all (or matching) procedures

 

[[class]::]string info

 

 

addr [[class]::]string

 

 

 

 

lr

lr (with -xdb), info

List all registers

 

all-reg

 

 

 

 

lr [string]

lr string (with -xdb),

List matching registers

 

info reg string

 

 

 

 

ls [string]

No equivalent

List all (or matching) special

 

 

variables

 

 

 

mm

info sharedlibrary

Show memory map of all loaded

 

 

shared libraries

 

 

 

mm string

No equivalent

Show memory map of matching

 

 

loaded shared libraries

 

 

 

p expr[\format

p[/format expr [Note: The

Print value using the specified

 

count and size portions of

format

 

formats are not allowed in the p

 

 

(print) command. They are

 

 

allowed in the x command

 

 

(examine memory).]

 

 

 

 

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