From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 4DA493857812; Mon, 14 Sep 2020 14:39:05 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4DA493857812 From: "alahay01 at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug tdep/26613] New: Arm: Secure stack not supported Date: Mon, 14 Sep 2020 14:39:05 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new 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: alahay01 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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, 14 Sep 2020 14:39:05 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D26613 Bug ID: 26613 Summary: Arm: Secure stack not supported Product: gdb Version: HEAD Status: NEW Severity: normal Priority: P2 Component: tdep Assignee: unassigned at sourceware dot org Reporter: alahay01 at gcc dot gnu.org Target Milestone: --- On cortex M, the exception stack can use a secure stack. This is not currently supported. See this comment in arm-tdep.c arm_m_exception_cache() /* ARMv8-M Exception and interrupt handling is not considered here. In the ARMv8-M architecture also EXC_RETURN bit S is controlling if the Secure or Non-secure stack was used. To separate Secure and Non-secure stacks, processors that are based on the ARMv8-M architecture support 4 stack pointers: MSP_S, PSP_S, MSP_NS, PSP_N= S. In addition, a stack limit feature is provided using stack limit registers (accessible using MSR and MRS instructions) in Privileged level. */ --=20 You are receiving this mail because: You are on the CC list for the bug.=