From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 00C8F3858D38; Sun, 11 Feb 2024 13:10:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 00C8F3858D38 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1707657020; bh=R/vmNN60fYJEw+CIfzhy1QveXXyeogSvNxGXQG8eAuU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Jd4LjGT1qS1ARmGFeAxQYfwMSR30Y+hJsNmGH9NcxwaL1SfXJOgJdaRugevmCv78w 90g/ZQ6n84lF4pKqXpuhfxdIsd3ukkN+IZRf5yvPeFin4yalguq1alV5+luNlW9KHs p62YMh13fBMtnvVaAPVMdFEsS6Rt5sgyrRhzdyMo= From: "vries at gcc dot gnu.org" 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: Sun, 11 Feb 2024 13:10:19 +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: vries at gcc dot gnu.org 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 #8 from Tom de Vries --- Fixed by: ... diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c index 861d50a6a3b..461efe50554 100644 --- a/gdb/arm-tdep.c +++ b/gdb/arm-tdep.c @@ -14182,7 +14182,8 @@ thumb2_record_ld_word (arm_insn_decode_record *thumb2_ins n_r) record_buf[0] =3D bits (thumb2_insn_r->arm_insn, 12, 15); record_buf[1] =3D ARM_PS_REGNUM; - thumb2_insn_r->reg_rec_count =3D 2; + record_buf[2] =3D bits (thumb2_insn_r->arm_insn, 16, 19); + thumb2_insn_r->reg_rec_count =3D 3; REG_ALLOC (thumb2_insn_r->arm_regs, thumb2_insn_r->reg_rec_count, record_buf); ... I have no idea whether this is (always) complete and correct, I haven't fou= nd the place in the arm manual that describes the encoding. --=20 You are receiving this mail because: You are on the CC list for the bug.=