Whole document tree
19.10 GDB/MI Symbol Query Commands The
|
-symbol-info-address symbol |
Describe where symbol is stored.
The corresponding GDB command is `info address'.
-symbol-info-file
Command
-symbol-info-file |
Show the file for the symbol.
There's no equivalent GDB command. gdbtk
has
`gdb_filnd_file'.
-symbol-info-function
Command
-symbol-info-function |
Show which function the symbol lives in.
`gdb_get_function' in gdbtk
.
-symbol-info-line
Command
-symbol-info-line |
Show the core addresses of the code for a source line.
The corresponding GDB comamnd is `info line'. gdbtk
has the
`gdb_get_line' `gdb_get_file' commands.
-symbol-info-symbol
Command
-symbol-info-symbol addr |
Describe what symbol is at location addr.
The corresponding GDB command is `info symbol'.
-symbol-list-functions
Command
-symbol-list-functions |
List the functions in the executable.
`info functions' in GDB, `gdb_listfunc' `gdb_search' in
gdbtk
.
-symbol-list-types
Command
-symbol-list-types |
List all the type names.
The corresponding commands are `info types' in GDB,
`gdb_search' in gdbtk
.
-symbol-list-variables
Command
-symbol-list-variables |
List all the global and static variable names.
`info variables' in GDB, `gdb_search' in gdbtk
.
-symbol-locate
Command
-symbol-locate |
`gdb_loc' in gdbtk
.
-symbol-type
Command
-symbol-type variable |
Show type of variable.
The corresponding GDB command is `ptype', gdbtk
has
`gdb_obj_variable'.
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |