mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-28 04:25:10 +08:00
9074667a85
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>
16 lines
486 B
C
16 lines
486 B
C
/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro:
|
|
Original: arm-m-system.xml */
|
|
|
|
#include "gdbsupport/tdesc.h"
|
|
|
|
static int
|
|
create_feature_arm_arm_m_system (struct target_desc *result, long regnum)
|
|
{
|
|
struct tdesc_feature *feature;
|
|
|
|
feature = tdesc_create_feature (result, "org.gnu.gdb.arm.m-system");
|
|
tdesc_create_reg (feature, "msp", regnum++, 1, NULL, 32, "data_ptr");
|
|
tdesc_create_reg (feature, "psp", regnum++, 1, NULL, 32, "data_ptr");
|
|
return regnum;
|
|
}
|