mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-12 12:16:04 +08:00
ae7e2f45aa
Armv8-M architecture with Security extension features four stack pointers to handle Secure and Non-secure modes. This patch adds support to switch between them as needed during unwinding, and replaces all updates of cache->prev_sp with calls to arm_cache_set_prev_sp. Signed-off-by: Torbjörn Svensson <torbjorn.svensson@st.com> Signed-off-by: Christophe Lyon <christophe.lyon@foss.st.com> Signed-off-by: Christophe Lyon <christophe.lyon@arm.com>
16 lines
639 B
XML
16 lines
639 B
XML
<?xml version="1.0"?>
|
|
<!-- Copyright (C) 2022 Free Software Foundation, Inc.
|
|
|
|
Copying and distribution of this file, with or without modification,
|
|
are permitted in any medium without royalty provided the copyright
|
|
notice and this notice are preserved. -->
|
|
|
|
<!DOCTYPE feature SYSTEM "gdb-target.dtd">
|
|
<feature name="org.gnu.gdb.arm.secext">
|
|
<!-- We have 4 stack pointers with the security extension. -->
|
|
<reg name="msp_ns" bitsize="32" type="data_ptr"/>
|
|
<reg name="psp_ns" bitsize="32" type="data_ptr"/>
|
|
<reg name="msp_s" bitsize="32" type="data_ptr"/>
|
|
<reg name="psp_s" bitsize="32" type="data_ptr"/>
|
|
</feature>
|