From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 71071 invoked by alias); 16 Sep 2015 21:53:09 -0000 Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org Received: (qmail 71042 invoked by uid 48); 16 Sep 2015 21:53:08 -0000 From: "jmgao at google dot com" To: gdb-prs@sourceware.org Subject: [Bug gdb/18945] gdbserver cannot be interrupted on linux when pgid doesn't match pid Date: Wed, 16 Sep 2015 21:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: 7.10 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jmgao at google dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-q3/txt/msg00321.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=18945 --- Comment #7 from Josh Gao --- Hmm, are you sure the attached patch suffers from the problem that 78708b7 was addressing? The code prior to 78708b7 was using tkill(pid, sig), which indeed would fail if the main thread exited. 78708b7 changed it to kill the process group, but is that any better if a thread that gdb isn't attached to gets the signal? -- You are receiving this mail because: You are on the CC list for the bug.