aboutsummaryrefslogtreecommitdiff
path: root/gdb/arch/arm.h
diff options
context:
space:
mode:
authorChristophe Lyon <christophe.lyon@arm.com>2022-04-01 10:22:08 +0100
committerChristophe Lyon <christophe.lyon@arm.com>2022-04-27 15:18:18 +0100
commit9074667a8583b33ff1b9590232c15e67f2d1d607 (patch)
tree7fac426a2f4f1087545b74b547aeb4261c8dd6a0 /gdb/arch/arm.h
parentfcaa1071d7921c4f7c7592a10ed7b84830ec8c49 (diff)
downloadgdb-9074667a8583b33ff1b9590232c15e67f2d1d607.zip
gdb-9074667a8583b33ff1b9590232c15e67f2d1d607.tar.gz
gdb-9074667a8583b33ff1b9590232c15e67f2d1d607.tar.bz2
gdb/arm: Define MSP and PSP registers for M-Profile
This patch removes the hardcoded access to PSP in arm_m_exception_cache() and relies on the definition with the XML descriptions. Signed-off-by: Christophe Lyon <christophe.lyon@foss.st.com> Signed-off-by: Christophe Lyon <christophe.lyon@arm.com>
Diffstat (limited to 'gdb/arch/arm.h')
-rw-r--r--gdb/arch/arm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/arch/arm.h b/gdb/arch/arm.h
index 755391f..0728bea 100644
--- a/gdb/arch/arm.h
+++ b/gdb/arch/arm.h
@@ -105,6 +105,7 @@ enum arm_m_profile_type {
ARM_M_TYPE_VFP_D16,
ARM_M_TYPE_WITH_FPA,
ARM_M_TYPE_MVE,
+ ARM_M_TYPE_SYSTEM,
ARM_M_TYPE_INVALID
};