This is the mail archive of the gdb-prs@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gdbMI/790: -target-attach not implemented


>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:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]