From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C928A3858407; Thu, 4 Aug 2022 10:34:55 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C928A3858407 From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug tdep/29408] [gdb, tdep/aarch64] FAIL: gdb.base/large-frame.exp: optimize=-O0: backtrace Date: Thu, 04 Aug 2022 10:34:55 +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: 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: attachments.created 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: Thu, 04 Aug 2022 10:34:55 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D29408 --- Comment #1 from Tom de Vries --- Created attachment 14255 --> https://sourceware.org/bugzilla/attachment.cgi?id=3D14255&action=3Ded= it Tentative patch Fixes the failures: ... Running /home/tdevries/gdb/src/gdb/testsuite/gdb.base/large-frame.exp ... =3D=3D=3D gdb Summary =3D=3D=3D # of expected passes 6 ... We do slightly overshoot: ... $ gdb -q -batch ./outputs/gdb.base/large-frame/large-frame-O0 -ex "b func" Breakpoint 1 at 0x400624 ... because according to the line info (which we can see if we compile large-frame-2.c with debug info), the first insn after the prologue is 0x400620: ... 0000000000400610 : 400610: d2880210 mov x16, #0x4010 // #16400 400614: cb3063ff sub sp, sp, x16 400618: a9007bfd stp x29, x30, [sp] 40061c: 910003fd mov x29, sp 400620: 910043a0 add x0, x29, #0x10 400624: 97fffff0 bl 4005e4 400628: 52800000 mov w0, #0x0 // = #0 40062c: a9407bfd ldp x29, x30, [sp] 400630: d2880210 mov x16, #0x4010 // #16400 400634: 8b3063ff add sp, sp, x16 400638: d65f03c0 ret 40063c: d503201f nop ... but that is a pre-existing problem. --=20 You are receiving this mail because: You are on the CC list for the bug.=