Debugging with GDB (September 2007)
308 Debugging with GDB
Synopsis
-symbol-info-function
Show which function the symbol lives in.
GDB command
‘gdb_get_function’ in gdbtk.
Example
N.A.
The -symbol-info-line command
Synopsis
-symbol-info-line
Show the core addresses of the code for a source line.
GDB command
The corresponding GDB comamnd is ‘info line’. gdbtk has the ‘gdb_get_line’ and
‘gdb_get_file’ commands.
Example
N.A.
The -symbol-info-symbol command
Synopsis
-symbol-info-symbol addr
Describe what symbol is at location addr.
GDB command
The corresponding GDB command is ‘info symbol’.
Example
N.A.