public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
From: "xdje42 at gmail dot com" <sourceware-bugzilla@sourceware.org> To: gdb-prs@sourceware.org Subject: [Bug gdb/18945] gdbserver cannot be interrupted on linux when pgid doesn't match pid Date: Tue, 15 Sep 2015 01:25:00 -0000 [thread overview] Message-ID: <bug-18945-4717-ZqVSOU9mbb@http.sourceware.org/bugzilla/> (raw) In-Reply-To: <bug-18945-4717@http.sourceware.org/bugzilla/> https://sourceware.org/bugzilla/show_bug.cgi?id=18945 --- Comment #3 from Doug Evans <xdje42 at gmail dot com> --- Ah, so what we need to do is have gdbserver track inferior process groups. [if one wants to keep the current scheme of sending SIGINT to the process group, which would be nice, though it's not clear that's the only or best solution here. I can also imagine preferring different solutions at different times, which gdb itself is already doing.] Still, the attached patch suffers from the issue that the current code tries to avoid. As a local patch, maybe it's ok to trade one set of issues for another. I also notice that gdb is using set_sigint_trap + pass_signal (trunk, amd64-linux) when attached to an inferior, and this also doesn't send SIGINT to the pgrp (setting aside the "interrupt" command, which uses linux_nat_interrupt). -- You are receiving this mail because: You are on the CC list for the bug.
next prev parent reply other threads:[~2015-09-15 1:25 UTC|newest] Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top 2015-09-09 23:28 [Bug gdb/18945] New: " 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 [this message] 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
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-18945-4717-ZqVSOU9mbb@http.sourceware.org/bugzilla/ \ --to=sourceware-bugzilla@sourceware.org \ --cc=gdb-prs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).