Table
XDB Command | WDB Equivalent | Meaning |
ld | ld (with | List source directory search path |
| directories | (list all directories) |
|
|
|
lf | lf (with | List all source files |
| sources |
|
|
|
|
lf [string] | No equivalent | List matching files |
|
|
|
n | fo or rev | Repeat previous search |
|
|
|
N | fo or rev | Repeat previous search in opposite |
|
| direction |
|
|
|
v | v (with | Show one source window forward |
|
| from current |
|
|
|
v location | v location (with | View source at location in |
| list location | source window |
|
|
|
va address | va address (with | View address in disassembly |
| disas address | window |
|
|
|
va label | va label (with | View label in disassembly |
| disas label | window (label is a location) |
|
|
|
va label + offset | va label + offset (with | View label + offset in |
| disassembly window | |
| offset |
|
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 commandsThere 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