HP (Hewlett-Packard) 5992-4701 Computer Hardware User Manual


 
Table 16-3 File viewing commands (continued)
MeaningWDB EquivalentXDB Command
List source directory search path
(list all directories)
ld (with -xdb), show
directories
ld
List all source files
lf (with -xdb), info
sources
lf
List matching filesNo equivalent
lf [string]
Repeat previous search
fo or revn
Repeat previous search in opposite
direction
fo or revN
Show one source window forward
from current
v (with -xdb), listv
View source at location in
source window
v location (with -xdb),
list location
v location
View address in disassembly
window
va address (with -xdb),
disas address
va address
View label in disassembly
window (label is a location)
va label (with -xdb),
disas label
va label
View label + offset in
disassembly window
va label + offset (with
-xdb), disas label +
offset
va label + offset
16.1.4 Source directory mapping commands
Use the D or dir command to add new directories to be searched for source files. See
“File viewing commands” (page 255).
GDB does not provide a source directory mapping capability and therefore does not
have any equivalent of the apm, dpm, and lpm commands.
16.1.5 Data Viewing and modification commands
There are many info commands in addition to those shown here. Use help info to get
a list.
The following table lists the XDB and equivalent WDB commands for viewing and
modifying the program data:
256 XDB to WDB Transition Guide