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