Debugging with GDB (September 2007)
Chapter 21: The gd b/mi Interface 315
The -target-select command
Synopsis
-target-select type parameters ...
Connect GDB to the remote target. This com mand takes two args:
‘type ’ The type of target, for instance ‘async’, ‘remote’, etc.
‘parameters ’
Device names, host names and the like. See Section 13.2 [Commands for man-
aging targets], page 109, for more details.
The output is a connection notification, followed by the address at which the target
program is, in the following form:
^connected,addr="address ",func="function name",
args=[arg list ]
GDB command
The corresponding GDB command is ‘target’.
Example
(gdb)
-target-select async /dev/ttya
^connected,addr="0xfe00a300",func="??",args=[]
(gdb)
21.12 gdb/mi thread commands
The -thread-info comm and
Synopsis
-thread-info
GDB command
No equivalent.
Example
N.A.