Debugging with GDB (September 2007)
Chapter 21: The gd b/mi Interface 311
GDB command
The corresponding GDB command is ‘attach’.
Example
N.A.
The -target-compare-sections command
Synopsis
-target-compare-sections [ section ]
Compare data of section se ction on target to the exec file. Without the argument, all
sections are compared.
GDB command
The GDB equivalent is ‘compare-sections’.
Example
N.A.
The -target-detach command
Synopsis
-target-detach
Disconnect from the remote target. There is no output.
GDB command
The corresponding GDB command is ‘detach’.
Example
(gdb)
-target-detach
^done
(gdb)
The -target-download command