From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 9DB1E3858C39; Wed, 3 Jan 2024 14:49:46 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9DB1E3858C39 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1704293386; bh=Kb06oMYpRNdZqRvBt3TRt9uAH6DGvYwawQsOgw7f6ww=; h=From:To:Subject:Date:In-Reply-To:References:From; b=mZ2X/metIT9UQUGAUy9dGSwbgLKhhtKo6JMK8oSPYTqhOUCJwFIsKOOC2tbWdOMod NiLwkTO9f52OaDVrxb1Uaux0gNY6jXIoVXwraSIpCE+lWLsS8hixzG32MgmHX4XCUR qpCRJ0NJHKUtMycCqZCiTfg3mGsmX+D8Efngtq70= From: "ssbssa at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug gdb/18749] problems if whole process dies while (ptrace-) stopped Date: Wed, 03 Jan 2024 14:49:44 +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: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ssbssa at sourceware dot org 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: 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 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D18749 Hannes Domani changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ssbssa at sourceware dot o= rg --- Comment #5 from Hannes Domani --- (In reply to Sourceware Commits from comment #4) > The master branch has been updated by Yao Qi : >=20 > https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git; > h=3D9a70f35c8d872bb5542e98e34b8b044228dcb844 >=20 > commit 9a70f35c8d872bb5542e98e34b8b044228dcb844 > Author: Yao Qi > Date: Tue Jan 16 09:05:39 2018 +0000 >=20 > Mark register unavailable when PTRACE_PEEKUSER fails >=20=20=20=20=20 > As described in PR 18749, GDB/GDBserver may get an error on accessing > memory or register because the thread may disappear. However, some > path doesn't expect the error. This patch fixes this problem by > marking the register unavailable when PTRACE_PEEKUSER fails instead > of throwing error. >=20=20=20=20=20 > gdb/gdbserver: >=20=20=20=20=20 > 2018-01-16 Yao Qi >=20=20=20=20=20 > PR gdb/18749 > * linux-low.c (fetch_register): Call supply_register instead of > error. Can this be closed? --=20 You are receiving this mail because: You are on the CC list for the bug.=