aboutsummaryrefslogtreecommitdiff
path: root/gdb/features/i386/32bit-linux.c
blob: 3289f07d332fe190fcde73f538e675f295f148b3 (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: 32bit-linux.xml */

#include "gdbsupport/tdesc.h"

static int
create_feature_i386_32bit_linux (struct target_desc *result, long regnum)
{
  struct tdesc_feature *feature;

  feature = tdesc_create_feature (result, "org.gnu.gdb.i386.linux");
  regnum = 41;
  tdesc_create_reg (feature, "orig_eax", regnum++, 1, NULL, 32, "int");
  return regnum;
}