public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/18945] New: gdbserver cannot be interrupted on linux when pgid doesn't match pid
@ 2015-09-09 23:28 jmgao at google dot com
  2015-09-14 16:45 ` [Bug gdb/18945] " xdje42 at gmail dot com
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: jmgao at google dot com @ 2015-09-09 23:28 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 18945
           Summary: gdbserver cannot be interrupted on linux when pgid
                    doesn't match pid
           Product: gdb
           Version: 7.10
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: jmgao at google dot com
  Target Milestone: ---

Created attachment 8595
  --> https://sourceware.org/bugzilla/attachment.cgi?id=8595&action=edit
patch

In gdbserver/linux-low.c, linux_request_interrupt uses kill(-pid, SIGINT) to
interrupt a process, but this fails when the attached process is a member of
another process group.

Is there any reason that sending the signal to the entire process group is
desired, or can we get away with changing it to kill just the single process?

Trivial patch attached

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


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

end of thread, other threads:[~2023-07-11 20:49 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-09 23:28 [Bug gdb/18945] New: gdbserver cannot be interrupted on linux when pgid doesn't match pid jmgao at google dot com
2015-09-14 16:45 ` [Bug gdb/18945] " xdje42 at gmail dot com
2015-09-14 16:45 ` xdje42 at gmail dot com
2015-09-14 17:29 ` jmgao at google dot com
2015-09-15  1:25 ` xdje42 at gmail dot com
2015-09-15  1:33 ` jmgao at google dot com
2015-09-15  1:52 ` xdje42 at gmail dot com
2015-09-15  2:02 ` xdje42 at gmail dot com
2015-09-16 21:53 ` jmgao at google dot com
2015-10-27 16:40 ` rarul at rarul dot com
2022-11-27 16:32 ` raj.khem at gmail dot com
2022-11-27 16:34 ` raj.khem at gmail dot com
2022-11-27 16:59 ` vries at gcc dot gnu.org
2023-06-29  8:45 ` prosup at 163 dot com
2023-07-11 20:49 ` tromey at sourceware dot org

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).