GDB (xrefs)

tic6x-core.c
Go to the documentation of this file.
1 /* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro:
2 Original: tic6x-core.xml */
3
4 #include "arch/tdesc.h"
5
6 static int
7 create_feature_tic6x_core (struct target_desc *result, long regnum)
8 {
9 struct tdesc_feature *feature;
10
11 feature = tdesc_create_feature (result, "org.gnu.gdb.tic6x.core", "tic6x-core.xml");
12 tdesc_create_reg (feature, "A0", regnum++, 1, NULL, 32, "uint32");
13 tdesc_create_reg (feature, "A1", regnum++, 1, NULL, 32, "uint32");
14 tdesc_create_reg (feature, "A2", regnum++, 1, NULL, 32, "uint32");
15 tdesc_create_reg (feature, "A3", regnum++, 1, NULL, 32, "uint32");
16 tdesc_create_reg (feature, "A4", regnum++, 1, NULL, 32, "uint32");
17 tdesc_create_reg (feature, "A5", regnum++, 1, NULL, 32, "uint32");
18 tdesc_create_reg (feature, "A6", regnum++, 1, NULL, 32, "uint32");
19 tdesc_create_reg (feature, "A7", regnum++, 1, NULL, 32, "uint32");
20 tdesc_create_reg (feature, "A8", regnum++, 1, NULL, 32, "uint32");
21 tdesc_create_reg (feature, "A9", regnum++, 1, NULL, 32, "uint32");
22 tdesc_create_reg (feature, "A10", regnum++, 1, NULL, 32, "uint32");
23 tdesc_create_reg (feature, "A11", regnum++, 1, NULL, 32, "uint32");
24 tdesc_create_reg (feature, "A12", regnum++, 1, NULL, 32, "uint32");
25 tdesc_create_reg (feature, "A13", regnum++, 1, NULL, 32, "uint32");
26 tdesc_create_reg (feature, "A14", regnum++, 1, NULL, 32, "uint32");
27 tdesc_create_reg (feature, "A15", regnum++, 1, NULL, 32, "uint32");
28 tdesc_create_reg (feature, "B0", regnum++, 1, NULL, 32, "uint32");
29 tdesc_create_reg (feature, "B1", regnum++, 1, NULL, 32, "uint32");
30 tdesc_create_reg (feature, "B2", regnum++, 1, NULL, 32, "uint32");
31 tdesc_create_reg (feature, "B3", regnum++, 1, NULL, 32, "uint32");
32 tdesc_create_reg (feature, "B4", regnum++, 1, NULL, 32, "uint32");
33 tdesc_create_reg (feature, "B5", regnum++, 1, NULL, 32, "uint32");
34 tdesc_create_reg (feature, "B6", regnum++, 1, NULL, 32, "uint32");
35 tdesc_create_reg (feature, "B7", regnum++, 1, NULL, 32, "uint32");
36 tdesc_create_reg (feature, "B8", regnum++, 1, NULL, 32, "uint32");
37 tdesc_create_reg (feature, "B9", regnum++, 1, NULL, 32, "uint32");
38 tdesc_create_reg (feature, "B10", regnum++, 1, NULL, 32, "uint32");
39 tdesc_create_reg (feature, "B11", regnum++, 1, NULL, 32, "uint32");
40 tdesc_create_reg (feature, "B12", regnum++, 1, NULL, 32, "uint32");
41 tdesc_create_reg (feature, "B13", regnum++, 1, NULL, 32, "uint32");
42 tdesc_create_reg (feature, "B14", regnum++, 1, NULL, 32, "uint32");
43 tdesc_create_reg (feature, "B15", regnum++, 1, NULL, 32, "uint32");
44 tdesc_create_reg (feature, "CSR", regnum++, 1, NULL, 32, "uint32");
45 tdesc_create_reg (feature, "PC", regnum++, 1, NULL, 32, "code_ptr");
46 return regnum;
47 }
tdesc_create_reg
void tdesc_create_reg(struct tdesc_feature *feature, const char *name, int regnum, int save_restore, const char *group, int bitsize, const char *type)
Definition: target-descriptions.c:1448
tdesc_feature
Definition: target-descriptions.c:516
regnum
int regnum
Definition: aarch64-tdep.c:77
create_feature_tic6x_core
static int create_feature_tic6x_core(struct target_desc *result, long regnum)
Definition: tic6x-core.c:7
target_desc
Definition: target-descriptions.c:591
tdesc_create_feature
struct tdesc_feature * tdesc_create_feature(struct target_desc *tdesc, const char *name, const char *xml=nullptr)
Definition: target-descriptions.c:1602
tdesc.h