From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 586A839540E7; Wed, 24 Feb 2021 23:39:10 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 586A839540E7 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: Wed, 24 Feb 2021 23:39:10 +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: 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: Wed, 24 Feb 2021 23:39:10 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D27147 --- Comment #13 from Simon Marchi --- Created attachment 13261 --> https://sourceware.org/bugzilla/attachment.cgi?id=3D13261&action=3Ded= it Proposed patch (Simon) Here's what I have to propose based on my previous comment. This is the narrowest scope where I managed to put the switch_to_thread that didn't req= uire a massive refactor. I think that can be removed once the memory reading/writing code (well, everything that uses xfer_partial) doesn't rely= on the global context. Regarding this, I'd like to get back to this patch eventually: https://sourceware.org/pipermail/gdb-patches/2020-August/171215.html --=20 You are receiving this mail because: You are on the CC list for the bug.=