From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 77A6C3858C50; Sun, 14 Aug 2022 21:25:59 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 77A6C3858C50 From: "dominik.b.czarnota+bugzilla at gmail dot com" To: gdb-prs@sourceware.org Subject: [Bug remote/18772] gdb does not respond to CTRL-C Date: Sun, 14 Aug 2022 21:25:58 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: remote X-Bugzilla-Version: 7.9 X-Bugzilla-Keywords: X-Bugzilla-Severity: critical X-Bugzilla-Who: dominik.b.czarnota+bugzilla at gmail dot com X-Bugzilla-Status: REOPENED 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: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gdb-prs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-prs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Aug 2022 21:25:59 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D18772 Disconnect3d changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dominik.b.czarnota+bugzilla | |@gmail.com --- Comment #14 from Disconnect3d --- (In reply to Pedro Alves from comment #13) > Once I'm done with my current priorities, my next project will be going b= ack > to this: >=20 > [PATCH v2 00/16] Interrupting programs that block/ignore SIGINT > https://pi.simark.ca/gdb-patches/20210614212410.1612666-1-pedro@palves.n= et/ >=20 > That redesigns how SIGINT is handled when native debugging, such that GDB > _always_ gets the SIGINT first instead of relying on the inferior getting > it, so I suspect it will fix Andrew's testcase when native debugging (tho= ugh > I haven't tried it). As for remote debugging with gdbserver, I will take= a > look at it too, once I resume work on that series. Hey, Any progress on it? I just stumbled on it when debugging an AARCH64 target [0] run via QEMU user emulation [1]. I wonder if that it is a bug in the QEMU user emulation layer here or if comes from GDB? [0] https://github.com/perfectblue/ctf-writeups/tree/master/2019/insomnihack-te= aser-2019/nyanc/challenge [1] Via command `qemu-aarch64 -g 1234 ./nyanc`, but I first used patchelf to set interpreter and libc: ``` patchelf --set-interpreter ./ld-linux-aarch64.so.1 ./nyanc=20 patchelf --replace-needed libc.so.6 ./libc.so.6 ./nyanc=20 ``` --=20 You are receiving this mail because: You are on the CC list for the bug.=