aboutsummaryrefslogtreecommitdiff
path: root/gdb/aarch64-linux-tdep.h
diff options
context:
space:
mode:
authorLuis Machado <luis.machado@linaro.org>2020-08-18 16:21:04 -0300
committerLuis Machado <luis.machado@linaro.org>2021-03-24 14:57:04 -0300
commitffcc2a15499644040a4c6a80828cf1795d9bc54b (patch)
tree4cfe3480c57bf276bf8c3df16c0abb6eb6da6ffe /gdb/aarch64-linux-tdep.h
parent41919a58ce12a0ed6230b2f3820c65ad980ca19e (diff)
downloadbinutils-ffcc2a15499644040a4c6a80828cf1795d9bc54b.zip
binutils-ffcc2a15499644040a4c6a80828cf1795d9bc54b.tar.gz
binutils-ffcc2a15499644040a4c6a80828cf1795d9bc54b.tar.bz2
AArch64: Add MTE register set support for core files
This patch handles the tagged_addr_ctrl register that is exported when generating a core file. gdb/ChangeLog: 2021-03-24 Luis Machado <luis.machado@linaro.org> * aarch64-linux-tdep.c (aarch64_linux_iterate_over_regset_sections): Handle MTE register set. * aarch64-linux-tdep.h (AARCH64_LINUX_SIZEOF_MTE_REGSET): Define.
Diffstat (limited to 'gdb/aarch64-linux-tdep.h')
-rw-r--r--gdb/aarch64-linux-tdep.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/aarch64-linux-tdep.h b/gdb/aarch64-linux-tdep.h
index 84c2517..62a6da8 100644
--- a/gdb/aarch64-linux-tdep.h
+++ b/gdb/aarch64-linux-tdep.h
@@ -36,6 +36,9 @@
/* The pauth regset consists of 2 X sized registers. */
#define AARCH64_LINUX_SIZEOF_PAUTH (2 * X_REGISTER_SIZE)
+/* The MTE regset consists of a 32-bit register. */
+#define AARCH64_LINUX_SIZEOF_MTE_REGSET (4)
+
extern const struct regset aarch64_linux_gregset;
extern const struct regset aarch64_linux_fpregset;