From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E71B03858D37; Mon, 12 Feb 2024 09:39:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E71B03858D37 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1707730746; bh=J3nrU1629wLPkipaP2D4zQvjnJI4tUS5TxaUkhn0Dp8=; h=From:To:Subject:Date:In-Reply-To:References:From; b=xIqcw8GJsaJBrvXtB2y1ja/7yqNgNWql3z/oNzHJVp4TVdAwdyit9y7DfEauIGOs3 am1oYEEtKW4RR3uxG6xKJkVri06lXajd6V+azBrW91uIt58oOmFmgp10Z1RRlRyiYZ 6BNibiXIKMIsS404eUSj7+PBihgKLS7urXRzl2uc= From: "luis.machado at arm dot com" To: gdb-prs@sourceware.org Subject: [Bug tdep/31278] [gdb/tdep, thumb2] GDB on arm-linux-gnueabihf fails gdb.reverse/func-map-to-same-line.exp Date: Mon, 12 Feb 2024 09:39:06 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: tdep X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: luis.machado at arm dot com X-Bugzilla-Status: UNCONFIRMED 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=3D31278 --- Comment #9 from Luis Machado --- I'm guessing this is probably LDR (immediate) T4 encoding Post Indexed, wit= h a write-back that is not being accounted for in gdb. The write-back bit seems to be bit 8. Does it show up as 1 for your case? It was probably an oversight, as we can that being handled in thumb_stack_frame_destroyed_p: else if (insn =3D=3D 0xf85d /* ldr.w , [sp], #4 */ && (insn2 & 0x0fff) =3D=3D 0x0b04) found_stack_adjust =3D 1; --=20 You are receiving this mail because: You are on the CC list for the bug.=