diff options
Diffstat (limited to 'gdb/features/aarch64-pauth.c')
-rw-r--r-- | gdb/features/aarch64-pauth.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/gdb/features/aarch64-pauth.c b/gdb/features/aarch64-pauth.c new file mode 100644 index 0000000..e4b84ff --- /dev/null +++ b/gdb/features/aarch64-pauth.c @@ -0,0 +1,16 @@ +/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro: + Original: aarch64-pauth.xml */ + +#include "common/tdesc.h" + +static int +create_feature_aarch64_pauth (struct target_desc *result, long regnum) +{ + struct tdesc_feature *feature; + + feature = tdesc_create_feature (result, "org.gnu.gdb.aarch64.pauth"); + tdesc_create_reg (feature, "pauth_dmask", regnum++, 1, NULL, 64, "int"); + tdesc_create_reg (feature, "pauth_cmask", regnum++, 1, NULL, 64, "int"); + + return regnum; +} |