aboutsummaryrefslogtreecommitdiff
path: root/gdb/arm-tdep.h
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2022-05-03 16:05:10 -0700
committerJohn Baldwin <jhb@FreeBSD.org>2022-05-03 16:05:10 -0700
commit92d48a1e4eac54db11f1a110328672394fce2853 (patch)
treea2ba5c23c3adda275329a6760f731006c9d8da32 /gdb/arm-tdep.h
parent40c23d880386d6e8202567eaa2a6b041feb1a652 (diff)
downloadbinutils-92d48a1e4eac54db11f1a110328672394fce2853.zip
binutils-92d48a1e4eac54db11f1a110328672394fce2853.tar.gz
binutils-92d48a1e4eac54db11f1a110328672394fce2853.tar.bz2
Add an arm-tls feature which includes the tpidruro register from CP15.
Diffstat (limited to 'gdb/arm-tdep.h')
-rw-r--r--gdb/arm-tdep.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/arm-tdep.h b/gdb/arm-tdep.h
index 864406e..0fc4774 100644
--- a/gdb/arm-tdep.h
+++ b/gdb/arm-tdep.h
@@ -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. */