summaryrefslogtreecommitdiff
path: root/gdb/features/i386/64bit-pkeys.c
blob: 70b88cf74db40f341a9c7195d897604d96b58d8b (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 "common/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;
}