16 lines
490 B
C
16 lines
490 B
C
|
/* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro:
|
||
|
Original: 32bit-segments.xml */
|
||
|
|
||
|
#include "gdbsupport/tdesc.h"
|
||
|
|
||
|
static int
|
||
|
create_feature_i386_32bit_segments (struct target_desc *result, long regnum)
|
||
|
{
|
||
|
struct tdesc_feature *feature;
|
||
|
|
||
|
feature = tdesc_create_feature (result, "org.gnu.gdb.i386.segments");
|
||
|
tdesc_create_reg (feature, "fs_base", regnum++, 1, NULL, 32, "int");
|
||
|
tdesc_create_reg (feature, "gs_base", regnum++, 1, NULL, 32, "int");
|
||
|
return regnum;
|
||
|
}
|