diff options
author | Alan Hayward <alan.hayward@arm.com> | 2019-03-22 10:43:17 +0000 |
---|---|---|
committer | Alan Hayward <alan.hayward@arm.com> | 2019-03-22 10:43:17 +0000 |
commit | 59c283728fddad638ae301cfb724d629fffc8665 (patch) | |
tree | dedb5d26df34ee67d16984a8ddf0b5e53d2e6290 /gdb/aarch64-linux-tdep.h | |
parent | 17e116a7d1501a46cf4e45ec181148dc6a1e3e2b (diff) | |
download | binutils-59c283728fddad638ae301cfb724d629fffc8665.zip binutils-59c283728fddad638ae301cfb724d629fffc8665.tar.gz binutils-59c283728fddad638ae301cfb724d629fffc8665.tar.bz2 |
AArch64: Read pauth section from core files
gdb/ChangeLog:
* aarch64-linux-tdep.c
(aarch64_linux_iterate_over_regset_sections): Check for pauth
section.
* aarch64-linux-tdep.h (AARCH64_LINUX_SIZEOF_PAUTH): New define.
Diffstat (limited to 'gdb/aarch64-linux-tdep.h')
-rw-r--r-- | gdb/aarch64-linux-tdep.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/aarch64-linux-tdep.h b/gdb/aarch64-linux-tdep.h index e9f7c9b..ec494bf 100644 --- a/gdb/aarch64-linux-tdep.h +++ b/gdb/aarch64-linux-tdep.h @@ -33,6 +33,9 @@ alignment. */ #define AARCH64_LINUX_SIZEOF_FPREGSET (33 * V_REGISTER_SIZE) +/* The pauth regset consists of 2 X sized registers. */ +#define AARCH64_LINUX_SIZEOF_PAUTH (2 * X_REGISTER_SIZE) + extern const struct regset aarch64_linux_gregset; extern const struct regset aarch64_linux_fpregset; |