Debugging with GDB (September 2007)
310 Debugging with GDB
Example
N.A.
The -symbol-locate command
Synopsis
-symbol-locate
GDB command
‘gdb_loc’ in gdbtk.
Example
N.A.
The -symbol-type comm and
Synopsis
-symbol-type variable
Show typ e of variable.
GDB command
The corresponding GDB command is ‘ptype’, gdbtk has ‘gdb_obj_variable’.
Example
N.A.
21.11 gdb/mi Target Manipulation Commands
The -target-attach command
Synopsis
-target-attach pid | file
Attach to a pro c es s pid or a file file outside of GDB.