aboutsummaryrefslogtreecommitdiff
path: root/gdb/features/tic6x-gp.c
blob: df0d0e37fc2c085e8bddedff2ab00cf26ddb2c73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/* THIS FILE IS GENERATED.  -*- buffer-read-only: t -*- vi:set ro:
  Original: tic6x-gp.xml */

#include "arch/tdesc.h"

static int
create_feature_tic6x_gp (struct target_desc *result, long regnum)
{
  struct tdesc_feature *feature;

  feature = tdesc_create_feature (result, "org.gnu.gdb.tic6x.gp", "tic6x-gp.xml");
  tdesc_create_reg (feature, "A16", regnum++, 1, NULL, 32, "uint32");
  tdesc_create_reg (feature, "A17", regnum++, 1, NULL, 32, "uint32");
  tdesc_create_reg (feature, "A18", regnum++, 1, NULL, 32, "uint32");
  tdesc_create_reg (feature, "A19", regnum++, 1, NULL, 32, "uint32");
  tdesc_create_reg (feature, "A20", regnum++, 1, NULL, 32, "uint32");
  tdesc_create_reg (feature, "A21", regnum++, 1, NULL, 32, "uint32");
  tdesc_create_reg (feature, "A22", regnum++, 1, NULL, 32, "uint32");
  tdesc_create_reg (feature, "A23", regnum++, 1, NULL, 32, "uint32");
  tdesc_create_reg (feature, "A24", regnum++, 1, NULL, 32, "uint32");
  tdesc_create_reg (feature, "A25", regnum++, 1, NULL, 32, "uint32");
  tdesc_create_reg (feature, "A26", regnum++, 1, NULL, 32, "uint32");
  tdesc_create_reg (feature, "A27", regnum++, 1, NULL, 32, "uint32");
  tdesc_create_reg (feature, "A28", regnum++, 1, NULL, 32, "uint32");
  tdesc_create_reg (feature, "A29", regnum++, 1, NULL, 32, "uint32");
  tdesc_create_reg (feature, "A30", regnum++, 1, NULL, 32, "uint32");
  tdesc_create_reg (feature, "A31", regnum++, 1, NULL, 32, "uint32");
  tdesc_create_reg (feature, "B16", regnum++, 1, NULL, 32, "uint32");
  tdesc_create_reg (feature, "B17", regnum++, 1, NULL, 32, "uint32");
  tdesc_create_reg (feature, "B18", regnum++, 1, NULL, 32, "uint32");
  tdesc_create_reg (feature, "B19", regnum++, 1, NULL, 32, "uint32");
  tdesc_create_reg (feature, "B20", regnum++, 1, NULL, 32, "uint32");
  tdesc_create_reg (feature, "B21", regnum++, 1, NULL, 32, "uint32");
  tdesc_create_reg (feature, "B22", regnum++, 1, NULL, 32, "uint32");
  tdesc_create_reg (feature, "B23", regnum++, 1, NULL, 32, "uint32");
  tdesc_create_reg (feature, "B24", regnum++, 1, NULL, 32, "uint32");
  tdesc_create_reg (feature, "B25", regnum++, 1, NULL, 32, "uint32");
  tdesc_create_reg (feature, "B26", regnum++, 1, NULL, 32, "uint32");
  tdesc_create_reg (feature, "B27", regnum++, 1, NULL, 32, "uint32");
  tdesc_create_reg (feature, "B28", regnum++, 1, NULL, 32, "uint32");
  tdesc_create_reg (feature, "B29", regnum++, 1, NULL, 32, "uint32");
  tdesc_create_reg (feature, "B30", regnum++, 1, NULL, 32, "uint32");
  tdesc_create_reg (feature, "B31", regnum++, 1, NULL, 32, "uint32");
  return regnum;
}