From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 200D13858D37; Mon, 18 Mar 2024 15:08:22 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 200D13858D37 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1710774502; bh=8qLWd8rzO3F3QlN/ONf4+cX8pMGGKbQi8ZaXX9Ubkzk=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ucXFz2DrYyyeGBXfoE6mvEKpCL3apFj1M6DaEzkOUrl7NEH5zYeqEMTIoWNJk9vGw JLDw3e9g89Fl8y/hTanC4kRVTXW7cth1xtK9ntz05RnyKJjq2EenIL7lfxqA246lpc CY/fAsxtW5dlqEf1sY0JKhD68+228um3YZUYcJw4= From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug gdb/31507] [gdb, aarch64] FAIL: gdb.arch/disp-step-insn-reloc.exp: can_relocate_adr_forward: relocated instruction Date: Mon, 18 Mar 2024 15:08:21 +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=3D31507 --- Comment #6 from Tom de Vries --- OK, so this hits the "PC did not move. Discarding PC adjustment" case: ... Breakpoint 5, pass () at /home/linux/gdb/src/gdb/testsuite/gdb.arch/insn-reloc.c:31 31 } +x /i $pc =3D> 0xaaaaaaaa0894 : nop +continue [displaced] displaced_step_prepare_throw: displaced-stepping 1307111.130711= 1.0 now [displaced] displaced_step_prepare_throw: original insn 0xaaaaaaaa0894: 1f = 20 03 d5 nop [displaced] prepare: selected buffer at 0xaaaaaaaa0788 [displaced] prepare: saved 0xaaaaaaaa0788: 1e 00 80 d2 [displaced] aarch64_displaced_step_copy_insn: writing insn d503201f at 0xaaaaaaaa0788 [displaced] displaced_step_prepare_throw: prepared successfully thread=3D1307111.1307111.0, original_pc=3D0xaaaaaaaa0894, displaced_pc=3D0xaaaaaaaa0788 [displaced] displaced_step_prepare_throw: replacement insn 0xaaaaaaaa0788: = 1f 20 03 d5 nop [displaced] finish: restored 1307111.1307111.0 0xaaaaaaaa0788 [displaced] aarch64_displaced_step_fixup: PC after stepping: 0xaaaaaaaa0788 (was 0xaaaaaaaa0788). [displaced] aarch64_displaced_step_fixup: adjusting PC by 4 [displaced] aarch64_displaced_step_fixup: PC did not move. Discarding PC adjustment. [displaced] aarch64_displaced_step_fixup: fixup: set PC to 0xaaaaaaaa0894:0 Breakpoint 5, pass () at /home/linux/gdb/src/gdb/testsuite/gdb.arch/insn-reloc.c:31 31 } +x /i $pc =3D> 0xaaaaaaaa0894 : nop ... --=20 You are receiving this mail because: You are on the CC list for the bug.=