From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 482463857837; Fri, 16 Feb 2024 21:36:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 482463857837 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1708119396; bh=LXfe/T5NLbh7WX5RKR7xSGgPWhFBCVY+OJs0KBg1H3I=; h=From:To:Subject:Date:In-Reply-To:References:From; b=x+ySRYsct4tFUFrsqENE+txnaqR4ArQuLSGI3/BWEbaNNoU8Il7dh7s4n1DpBCm3f 5xfKqsmlI0VEnYkEFHS3St0R5O4A3nQmxsPhgCBgNO+zhSxREKPjseUrREATtzV/Jl dgCCca/ETRkNK7JjBar91F3pV/Knp6ko6IfeJBGg= 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: Fri, 16 Feb 2024 21:36:35 +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 #25 from Pedro Alves --- We tried those before, and they don't work. They respect page permissions, while gdb needs to be able to write to read-only pages (for breakpoints, et= c.). BTW, there's progress on the CrOS ticket. Looks like they'll accept the ke= rnel patch if it's fixed to check the right thing. --=20 You are receiving this mail because: You are on the CC list for the bug.=