Debugging with GDB Manual (5900-1473; WDB 6.2; January 2011)

Table Of Contents
GDB command
The corresponding GDB commands are 'frame', 'up', 'down', 'select-frame',
'up-silent', and 'down-silent'.
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
Synopsis
-symbol-info-function
Show which function the symbol lives in.
21.10 GDB/MI Symbol query commands 345