gdb/arm: Define MSP and PSP registers for M-Profile
authorChristophe Lyon <christophe.lyon@arm.com>
Fri, 1 Apr 2022 09:22:08 +0000 (10:22 +0100)
committerChristophe Lyon <christophe.lyon@arm.com>
Wed, 27 Apr 2022 14:18:18 +0000 (15:18 +0100)
commit9074667a8583b33ff1b9590232c15e67f2d1d607
tree7fac426a2f4f1087545b74b547aeb4261c8dd6a0
parentfcaa1071d7921c4f7c7592a10ed7b84830ec8c49
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>
gdb/arch/arm.c
gdb/arch/arm.h
gdb/arm-tdep.c
gdb/arm-tdep.h
gdb/features/Makefile
gdb/features/arm/arm-m-system.c [new file with mode: 0644]
gdb/features/arm/arm-m-system.xml [new file with mode: 0644]