Debugging with GDB (September 2007)

Chapter 21: The gd b/mi Interface 307
Example
(gdb)
-stack-select-frame 2
^done
(gdb)
21.10 gdb/mi Symbol query commands
The -symbol-info-address Command
Synopsis
-symbol-info-address symbol
Describe where symbol is stored.
GDB command
The corresponding GDB command is info address’.
Example
N.A.
The -symbol-info-file Command
Synopsis
-symbol-info-file
Show the file for the symbol.
GDB command
There is no equivalent GDB command. gdbtk has gdb_find_file’.
Example
N.A.
The -symbol-info-function Command