beautypg.com

11 gdb/mi target manipulation commands – HP gnu source-level debugger 5992-4701 User Manual

Page 349

background image

Example

N.A.

21.11 GDB/MI Target Manipulation Commands

The -target-attach command

Synopsis

-target-attach pid | file

Attach to a process pid or a file file outside of GDB.

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 section 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'.

21.11 GDB/MI Target Manipulation Commands

349