Debugging with GDB Manual HP WDB v6.3 (5900-2180, August 2012)

The -target-list-current-targets command
Synopsis
-target-list-current-targets
Describe the current target.
GDB command
The corresponding information is printed by 'info file' (among other things).
Example
N.A.
The -target-list-parameters command
Synopsis
-target-list-parameters
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 101), 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)
280 The GDB/MI Interface