aboutsummaryrefslogtreecommitdiff
path: root/gdb/features/i386/pkeys.c
blob: 955d563176a09d8c70f2bf336891420c49c8355f (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: pkeys.xml */

#include "gdbsupport/tdesc.h"

static int
create_feature_i386_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;
}