Node: GDB/MI Symbol Query, Next: GDB/MI Target Manipulation, Previous: GDB/MI Stack Manipulation, Up: GDB/MI
-symbol-info-address
Command
-symbol-info-address symbol
Describe where symbol is stored.
The corresponding GDB command is info address
.
N.A.
-symbol-info-file
Command
-symbol-info-file
Show the file for the symbol.
There's no equivalent GDB command. gdbtk
has
gdb_find_file
.
N.A.
-symbol-info-function
Command
-symbol-info-function
Show which function the symbol lives in.
gdb_get_function
in gdbtk
.
N.A.
-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
and gdb_get_file
commands.
N.A.
-symbol-info-symbol
Command
-symbol-info-symbol addr
Describe what symbol is at location addr.
The corresponding GDB command is info symbol
.
N.A.
-symbol-list-functions
Command
-symbol-list-functions
List the functions in the executable.
info functions
in GDB, gdb_listfunc
and
gdb_search
in gdbtk
.
N.A.
-symbol-list-types
Command
-symbol-list-types
List all the type names.
The corresponding commands are info types
in GDB,
gdb_search
in gdbtk
.
N.A.
-symbol-list-variables
Command
-symbol-list-variables
List all the global and static variable names.
info variables
in GDB, gdb_search
in gdbtk
.
N.A.
-symbol-locate
Command
-symbol-locate
gdb_loc
in gdbtk
.
N.A.
-symbol-type
Command
-symbol-type variable
Show type of variable.
The corresponding GDB command is ptype
, gdbtk
has
gdb_obj_variable
.
N.A.