jmgao at google dot com
2015-09-09 23:28:00 UTC
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
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.
You are receiving this mail because:
You are on the CC list for the bug.