Data viewing and modification commands, Table 16-4 data viewing and modification commands – HP gnu source-level debugger 5992-4701 User Manual
Page 257

Table 16-4 Data viewing and modification commands
Meaning
WDB Equivalent
XDB Command
Move view location forward or
backward in source file number
lines
l (with -xdb)
, info args
followed by info locals
l
Search source forward for [last]
string
lc [string] (with -xdb)
,
info common string
lc [string]
Search source backward for [last]
string
lg [string] (with -xdb)
,
info variables [string]
lg [string]
Add a directory search path for
source files
info functions [string],
info variables [string],
maint print msymbols file
ll [string]
Show current viewing location or
current point of execution
show user
lm
List source directory search path
(list all directories)
show user string
lm string
List all source files
info func
[[class]::][string]
lo [[class]::][string]
Show current scope, list program
blocks, list names (symbols)
info functions
lp
List all (or matching) procedures
info func
[[class]::]string info
addr [[class]::]string
lp [[class]::]string
List all registers
lr (with -xdb), info
all-reg
lr
List matching registers
lr string (with -xdb),
info reg string
lr [string]
List all (or matching) special
variables
No equivalent
ls [string]
Show memory map of all loaded
shared libraries
info sharedlibrary
mm
Show memory map of matching
loaded shared libraries
No equivalent
mm string
Print value using the specified
format
p[/format expr
[Note: The
count and size portions of
formats are not allowed in the p
(print)
command. They are
allowed in the x command
(examine memory).]
p expr[\format
16.1 By-function lists of XDB commands and HP WDB equivalents
257