From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 124AD386D606; Thu, 15 Feb 2024 20:18:07 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 124AD386D606 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1708028287; bh=iyOMc7Mo0xAIO0WcHJuBIWlBrRLgvrwQz8fZSEoE54Y=; h=From:To:Subject:Date:In-Reply-To:References:From; b=kT5pFPSqPnlscCPWedeNqB8PjAr+Gm0jkHzElC3t0vPaFP9dse6rLYlhcBv57ZVdl cHkKnaT/iLeVf4QcxjLPDhUFKhUiLLFywV+wIoHvKXt04pILRy7W8kKZaZGw5xQcUZ CLMbQf1GShf3Er8SBCyP1XD3ed5y3GWlH8C5Ghvo= From: "pedro at palves dot net" To: gdb-prs@sourceware.org Subject: [Bug server/30453] gdbserver cannot set breakpoints when /proc/pid/mem is not writable Date: Thu, 15 Feb 2024 20:18:06 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: server X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pedro at palves dot net X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: WONTFIX 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: 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=3D30453 --- Comment #13 from Pedro Alves --- Not being able to write to memory while the inferior is running is something that I'm really really REALLY not looking forward to having to support. Ha= ving to work around an unreasoable downstream kernel change really is not appeal= ing. As I said, I can't access the URL, but I can't imagine how the position cou= ld be reasonable. There's no risk in allowing a ptracer to access inferior me= mory via /proc/pid/mem, because it can't already do so. So they're basically tr= ying to push on us to go through contortions around a crutial interface. I don't see that happening, frankly. --=20 You are receiving this mail because: You are on the CC list for the bug.=