Next: GDB/MI File Commands, Previous: GDB/MI Tracepoint Commands, 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 command 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-lines
Command-symbol-list-lines filename
Print the list of lines that contain code and their associated program addresses for the given source filename. The entries are sorted in ascending PC order.
There is no corresponding gdb command.
(gdb) -symbol-list-lines basics.c ^done,lines=[{pc="0x08048554",line="7"},{pc="0x0804855a",line="8"}] (gdb)
-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.