aboutsummaryrefslogtreecommitdiff
path: root/gdb/aarch64-fbsd-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
commit0a765c1a8e9c59f4cd0cdaf986291f957fe6ee90 (patch)
tree8f7d7b2bf69d6146b574cfa5a8b1743776e0a4e6 /gdb/aarch64-fbsd-tdep.h
parent414d5848bb2766ea7cef162c6ef5862ddb4dfe0f (diff)
downloadgdb-0a765c1a8e9c59f4cd0cdaf986291f957fe6ee90.zip
gdb-0a765c1a8e9c59f4cd0cdaf986291f957fe6ee90.tar.gz
gdb-0a765c1a8e9c59f4cd0cdaf986291f957fe6ee90.tar.bz2
Read the tpidr register from NT_ARM_TLS core dump notes on FreeBSD/Aarch64.
Diffstat (limited to 'gdb/aarch64-fbsd-tdep.h')
-rw-r--r--gdb/aarch64-fbsd-tdep.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/aarch64-fbsd-tdep.h b/gdb/aarch64-fbsd-tdep.h
index fc8fbee..7419ea6 100644
--- a/gdb/aarch64-fbsd-tdep.h
+++ b/gdb/aarch64-fbsd-tdep.h
@@ -32,6 +32,9 @@
alignment. */
#define AARCH64_FBSD_SIZEOF_FPREGSET (33 * V_REGISTER_SIZE)
+/* The TLS regset consists of a single register. */
+#define AARCH64_FBSD_SIZEOF_TLSREGSET (X_REGISTER_SIZE)
+
extern const struct regset aarch64_fbsd_gregset;
extern const struct regset aarch64_fbsd_fpregset;