aboutsummaryrefslogtreecommitdiff
path: root/gdb/features/i386/64bit-pkeys.c
blob: 83001d4a876db240e4c7da885dfdaae73439c10a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* THIS FILE IS GENERATED.  -*- buffer-read-only: t -*- vi:set ro:
  Original: 64bit-pkeys.xml */

#include "gdbsupport/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");
  tdesc_create_reg (feature, "pkru", regnum++, 1, NULL, 32, "uint32");
  return regnum;
}