GDB (xrefs)
features
tic6x-c6xp.c
Go to the documentation of this file.
1
/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro:
2
Original: tic6x-c6xp.xml */
3
4
#include "
arch/tdesc.h
"
5
6
static
int
7
create_feature_tic6x_c6xp
(
struct
target_desc
*result,
long
regnum
)
8
{
9
struct
tdesc_feature
*feature;
10
11
feature =
tdesc_create_feature
(result,
"org.gnu.gdb.tic6x.c6xp"
,
"tic6x-c6xp.xml"
);
12
tdesc_create_reg
(feature,
"TSR"
,
regnum
++, 1, NULL, 32,
"uint32"
);
13
tdesc_create_reg
(feature,
"ILC"
,
regnum
++, 1, NULL, 32,
"uint32"
);
14
tdesc_create_reg
(feature,
"RILC"
,
regnum
++, 1, NULL, 32,
"uint32"
);
15
return
regnum
;
16
}
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_c6xp
static int create_feature_tic6x_c6xp(struct target_desc *result, long regnum)
Definition:
tic6x-c6xp.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
Generated by
1.8.14