This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
gdbMI/790: -target-attach not implemented
- From: alain at qnx dot com
- To: gdb-gnats at sources dot redhat dot com
- Date: 7 Oct 2002 18:40:42 -0000
- Subject: gdbMI/790: -target-attach not implemented
- Reply-to: alain at qnx dot com
>Number: 790
>Category: gdbMI
>Synopsis: -target-attach not implemented
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Oct 07 11:48:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: alain@qnx.com
>Release: unknown-1.0
>Organization:
>Environment:
gdb-5.2.1
>Description:
To be able to attach to a running program in gdb/mi
One has to do
(gdb)
attach pid
&"attach pid\n"
^done,....
(gdb)
-target-attach is not implemented.
It would be nice to actually have -target-attach
returning something else then ^running, to make a distinction
say:
(gdb)
-target-attach pid
^attached,thread-id="0",frame={...}
(gdb)
The same way -target-select return connected
(gdb)
-target-select ...
^connected ...
(gdb)
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: