Debugging with GDB Manual The GNU Source-Level Debugger (769148-001, March 2014)

GDB command
No equivalent.
Example
N.A.
The -target-select command
Synopsis
-target-select type parameters ...
Connect GDB to the remote target. This command takes two args:
'type' The type of target, for instance 'async', 'remote', and so on.
'parameters' Device names, host names and the like. See “Commands for managing targets
(page 94), 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)
GDB/MI thread commands
The -thread-info command
Synopsis
-thread-info
GDB command
No equivalent.
Example
N.A.
The -thread-list-all-threads command
Synopsis
-thread-list-all-threads
GDB command
The equivalent GDB command is 'info threads'.
270 The GDB/MI Interface