public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/16780] New: attach when already attach kills first process, why not detach?
@ 2014-03-31  2:44 dje at google dot com
  2015-05-05 12:28 ` [Bug gdb/16780] " gbenson at redhat dot com
  2022-11-16 18:59 ` pedro at palves dot net
  0 siblings, 2 replies; 3+ messages in thread
From: dje at google dot com @ 2014-03-31  2:44 UTC (permalink / raw)
  To: gdb-prs

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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug gdb/16780] attach when already attach kills first process, why not detach?
  2014-03-31  2:44 [Bug gdb/16780] New: attach when already attach kills first process, why not detach? dje at google dot com
@ 2015-05-05 12:28 ` gbenson at redhat dot com
  2022-11-16 18:59 ` pedro at palves dot net
  1 sibling, 0 replies; 3+ messages in thread
From: gbenson at redhat dot com @ 2015-05-05 12:28 UTC (permalink / raw)
  To: gdb-prs

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

Gary Benson <gbenson at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gbenson at redhat dot com

--- Comment #1 from Gary Benson <gbenson at redhat dot com> ---
It applies to native too, I just found this.

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug gdb/16780] attach when already attach kills first process, why not detach?
  2014-03-31  2:44 [Bug gdb/16780] New: attach when already attach kills first process, why not detach? dje at google dot com
  2015-05-05 12:28 ` [Bug gdb/16780] " gbenson at redhat dot com
@ 2022-11-16 18:59 ` pedro at palves dot net
  1 sibling, 0 replies; 3+ messages in thread
From: pedro at palves dot net @ 2022-11-16 18:59 UTC (permalink / raw)
  To: gdb-prs

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

Pedro Alves <pedro at palves dot net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pedro at palves dot net

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-11-16 18:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-31  2:44 [Bug gdb/16780] New: attach when already attach kills first process, why not detach? dje at google dot com
2015-05-05 12:28 ` [Bug gdb/16780] " gbenson at redhat dot com
2022-11-16 18:59 ` pedro at palves dot net

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).