From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 1D29B3858C1F; Sat, 29 Oct 2022 15:43:54 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1D29B3858C1F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1667058234; bh=0XgUJa/6H32mqKW1/tbZvlEI7T/m8UhTaCfP9Blx1bs=; h=From:To:Subject:Date:In-Reply-To:References:From; b=j8ZNL2m/56pJKrJyE16jvB8fzKmykcmtP26/L1dhVdx/JUTvYVbfs04oY07+YA3JZ pqQhfTy1/BvNT1Dlyv0vZrLqBxiskDaDH4ROaQSRULQ+L75+LGB3Rw53pqgXdZbqJg hgMRQlzo4dca8d8LomPg4S1eK6NCmh6pgorU/itg= From: "tomas.vanek at fbl dot cz" To: gdb-prs@sourceware.org Subject: [Bug tdep/29716] Arm v8 M-profile FNC_RETURN unwinder uses wrong stack Date: Sat, 29 Oct 2022 15:43:53 +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: minor X-Bugzilla-Who: tomas.vanek at fbl dot cz 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=3D29716 --- Comment #2 from tomas.vanek at fbl dot cz --- And for completeness the third problem (not limited to secure extension): The simple core_addr_lessthan() used for set_gdbarch_inner_than() is not sufficient with multiple stack. Depending on placement of the secure and non-secure stacks (or the main and process stacks) unwinding is terminated with the false error: Backtrace stopped: previous frame inner to this frame (corrupt stack?) --=20 You are receiving this mail because: You are on the CC list for the bug.=