aboutsummaryrefslogtreecommitdiff
path: root/gdb/features/i386/64bit-segments.c
blob: d85717046d443a8cb84c37e2ff7fd22c95feff81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* THIS FILE IS GENERATED.  -*- buffer-read-only: t -*- vi:set ro:
  Original: 64bit-segments.xml */

#include "gdbsupport/tdesc.h"

static int
create_feature_i386_64bit_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, 64, "int");
  tdesc_create_reg (feature, "gs_base", regnum++, 1, NULL, 64, "int");
  return regnum;
}