The -target-select command

Synopsis

-target-selecttype 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 133), 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 command

Synopsis

-thread-info

GDB command

No equivalent.

Example

N.A.

The -thread-list-all-threads command

Synopsis

-thread-list-all-threads

21.12 GDB/MI thread commands 353

Page 353
Image 353
HP gnu source-level debugger 5992-4701 manual 21.12 GDB/MI thread commands, target-select command, thread-info command