From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id AFDA43857023; Fri, 13 May 2022 10:08:07 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AFDA43857023 From: "pedro at palves dot net" To: gdb-prs@sourceware.org Subject: [Bug gdb/18168] "set write on" or "--write" corrupt the binary file - 7.9 regression Date: Fri, 13 May 2022 10:08:07 +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: critical X-Bugzilla-Who: pedro at palves dot net X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution 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: Fri, 13 May 2022 10:08:07 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D18168 Pedro Alves changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED CC| |pedro at palves dot net --- Comment #4 from Pedro Alves --- This has been fixed since, probably by: commit db72737006fc383cb8838bf7f3dc8e641e60c38f Author: Jozef Lawrynowicz AuthorDate: Tue Sep 11 22:56:36 2018 +0100 Commit: Tom Tromey CommitDate: Mon Sep 24 06:20:17 2018 -0600 Fix PR gdb/20948: --write option to GDB causes segmentation fault This commit adds a testcase that would fail if GDB still corrupted the bina= ry: commit 169692ce6c0fa21c4648d2862cb2bb94012a1cd9 Author: Pedro Alves AuthorDate: Wed May 11 14:20:15 2022 +0100 Commit: Pedro Alves CommitDate: Fri May 13 10:56:05 2022 +0100 Fix "gdb --write" with core files Closing. --=20 You are receiving this mail because: You are on the CC list for the bug.=