This is the mail archive of the gdb-prs@sourceware.org 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]

[Bug gdb/16780] New: attach when already attach kills first process, why not detach?


https://sourceware.org/bugzilla/show_bug.cgi?id=16780

            Bug ID: 16780
           Summary: attach when already attach kills first process, why
                    not detach?
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: dje at google dot com

If I'm attached to a process, and then try to attach to a second process, gdb
says a process is already being debugged and to proceed the first would have to
be killed.  I was expecting gdb to ask if I wanted to detach from the first
process, not kill it.

This was with target-extended remote, but I'm guessing it applies to native
too.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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