forked from Imagelibrary/binutils-gdb
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>
This commit is contained in:
@@ -125,6 +125,9 @@ struct arm_gdbarch_tdep : gdbarch_tdep
|
||||
register. */
|
||||
int pacbti_pseudo_count = 0; /* Total number of PACBTI pseudo registers. */
|
||||
|
||||
int m_profile_msp_regnum = 0; /* M-profile MSP register number. */
|
||||
int m_profile_psp_regnum = 0; /* M-profile PSP register number. */
|
||||
|
||||
bool is_m = false; /* Does the target follow the "M" profile. */
|
||||
CORE_ADDR lowest_pc = 0; /* Lowest address at which instructions
|
||||
will appear. */
|
||||
|
||||
Reference in New Issue
Block a user