forked from Imagelibrary/binutils-gdb
Add an arm-tls feature which includes the tpidruro register from CP15.
This commit is contained in:
@@ -134,6 +134,8 @@ struct arm_gdbarch_tdep : gdbarch_tdep
|
||||
int m_profile_msp_s_regnum = ARM_SP_REGNUM; /* M-profile MSP_S register number. */
|
||||
int m_profile_psp_s_regnum = ARM_SP_REGNUM; /* M-profile PSP_S register number. */
|
||||
|
||||
int tls_regnum = 0; /* Number of the tpidruro register. */
|
||||
|
||||
bool is_m = false; /* Does the target follow the "M" profile. */
|
||||
bool have_sec_ext = false; /* Do we have security extensions? */
|
||||
CORE_ADDR lowest_pc = 0; /* Lowest address at which instructions
|
||||
@@ -317,7 +319,7 @@ extern void
|
||||
const struct regcache *regcache);
|
||||
|
||||
/* Get the correct Arm target description with given FP hardware type. */
|
||||
const target_desc *arm_read_description (arm_fp_type fp_type);
|
||||
const target_desc *arm_read_description (arm_fp_type fp_type, bool tls);
|
||||
|
||||
/* Get the correct Arm M-Profile target description with given hardware
|
||||
type. */
|
||||
|
||||
Reference in New Issue
Block a user