From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 827E6385841C; Tue, 28 Jan 2025 11:56:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 827E6385841C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1738065392; bh=HTRPbG6g9XrfPbbBe1hrMEgD+vsHk6HsRVtZj07GkmI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=OGG99rOXVvpYYnpict/YLx/WNxOdLTDiHb2rA/iMxgPox3XDkdZYmTCf2xMpfvDU7 M9E4oOzvmF/U1Ow5oRt4MiQoecP/TivCT38bHLNrxTsEfHdMsJurc6K9baVdL7Wa+T ymI7Qy5HXdROE3tzCduhpw6Nl7RdC50ASaNkW1dQ= From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug gdb/32608] [gdb, -m32] FAIL: gdb.threads/step-over-thread-exit-while-stop-all-threads.exp: displaced-stepping=auto: target-non-stop=on: iter 8: continue Date: Tue, 28 Jan 2025 11:56:32 +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: vries at gcc dot gnu.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: 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=3D32608 --- Comment #1 from Tom de Vries --- Tentative patch: ... diff --git a/gdb/infrun.c b/gdb/infrun.c index 4687ee6edb3..019a8653d9f 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -5524,6 +5524,8 @@ handle_one (const wait_one_event &event) ("displaced-step of %s canceled", t->ptid.to_string ().c_str ()); + regcache_write_pc (get_thread_regcache (t), t->prev_pc); + t->control.trap_expected =3D 0; if (!t->inf->detaching) global_thread_step_over_chain_enqueue (t); ... --=20 You are receiving this mail because: You are on the CC list for the bug.=