GDB (xrefs)

32bit-linux.c
Go to the documentation of this file.
1 /* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro:
2 Original: 32bit-linux.xml */
3
4 #include "arch/tdesc.h"
5
6 static int
7 create_feature_i386_32bit_linux (struct target_desc *result, long regnum)
8 {
9 struct tdesc_feature *feature;
10
11 feature = tdesc_create_feature (result, "org.gnu.gdb.i386.linux", "32bit-linux.xml");
12 regnum = 41;
13 tdesc_create_reg (feature, "orig_eax", regnum++, 1, NULL, 32, "int");
14 return regnum;
15 }
create_feature_i386_32bit_linux
static int create_feature_i386_32bit_linux(struct target_desc *result, long regnum)
Definition: 32bit-linux.c:7
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
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