aboutsummaryrefslogtreecommitdiff
path: root/gdb/features/aarch64-pauth.c
blob: e4b84ffb552fcf8b2939b288bc615d3c52598a92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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;
}