From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 33691388E822; Mon, 4 Jan 2021 18:58:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 33691388E822 From: "simark at simark dot ca" To: gdb-prs@sourceware.org Subject: [Bug backtrace/27147] [GNU/Linux, sparc64] GDB is unable to print full stack trace (got "previous frame inner to this frame" errors) Date: Mon, 04 Jan 2021 18:58:28 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: backtrace X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: simark at simark dot ca X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: 10.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_reconfirmed_on everconfirmed bug_status target_milestone 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: Mon, 04 Jan 2021 18:58:28 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D27147 Simon Marchi changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2021-01-04 Ever confirmed|0 |1 Status|UNCONFIRMED |NEW Target Milestone|--- |10.2 --- Comment #3 from Simon Marchi --- Ok, I was able to reproduce this on gcc102, on the gcc compile farm. It bisected to 5b6d1e4fa4fc ("Multi-target support"). At 5b6d1e4fa4fc: $ ./binutils-gdb/gdb/gdb --data-directory binutils-gdb/gdb/data-directory -batch a.out -ex "b puts" -ex "r" -ex "bt" Breakpoint 1 at 0x1021a0 Breakpoint 1, 0xffff80010019c63c in puts () from /lib/sparc64-linux-gnu/libc.so.6 #0 0xffff80010019c63c in puts () from /lib/sparc64-linux-gnu/libc.so.6 #1 0x000007feffdee2d9 in ?? () Backtrace stopped: previous frame identical to this frame (corrupt stack?) At 5b6d1e4fa4fc^: ./binutils-gdb/gdb/gdb --data-directory binutils-gdb/gdb/data-directory -ba= tch a.out -ex "b puts" -ex "r" -ex "bt" Breakpoint 1 at 0x1021a0 Breakpoint 1, 0xffff80010019c63c in puts () from /lib/sparc64-linux-gnu/libc.so.6 #0 0xffff80010019c63c in puts () from /lib/sparc64-linux-gnu/libc.so.6 #1 0x00000100000007f8 in hello () at test.c:4 #2 0x0000010000000810 in main () at test.c:8 Since this is a 9 -> 10 regression, I'll mark it with the 10.2 milestone. I don't plan to look more into it at the moment. Note: I tried to generate a core file, to be able to analyze further on my local machine, but I wasn't able to load it. GDB doesn't find the register= s in the core file: warning: Couldn't find general-purpose registers in core file. --=20 You are receiving this mail because: You are on the CC list for the bug.=