[gdb/tdep] Fix gdb.base/readnever.exp on s390x
[binutils-gdb.git] / gdb / features / arc / v1-aux.c
blobd1540763433e074f983c6e8e16bfe8d02b849d47
1 /* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro:
2 Original: v1-aux.xml */
4 #include "gdbsupport/tdesc.h"
6 static int
7 create_feature_arc_v1_aux (struct target_desc *result, long regnum)
9 struct tdesc_feature *feature;
11 feature = tdesc_create_feature (result, "org.gnu.gdb.arc.aux");
12 tdesc_type_with_fields *type_with_fields;
13 type_with_fields = tdesc_create_flags (feature, "status32_type", 4);
14 tdesc_add_flag (type_with_fields, 0, "H");
15 tdesc_add_bitfield (type_with_fields, "E", 1, 2);
16 tdesc_add_bitfield (type_with_fields, "A", 3, 4);
17 tdesc_add_flag (type_with_fields, 5, "AE");
18 tdesc_add_flag (type_with_fields, 6, "DE");
19 tdesc_add_flag (type_with_fields, 7, "U");
20 tdesc_add_flag (type_with_fields, 8, "V");
21 tdesc_add_flag (type_with_fields, 9, "C");
22 tdesc_add_flag (type_with_fields, 10, "N");
23 tdesc_add_flag (type_with_fields, 11, "Z");
24 tdesc_add_flag (type_with_fields, 12, "L");
25 tdesc_add_flag (type_with_fields, 13, "R");
26 tdesc_add_flag (type_with_fields, 14, "SE");
28 tdesc_create_reg (feature, "pc", regnum++, 1, NULL, 32, "code_ptr");
29 tdesc_create_reg (feature, "status32", regnum++, 1, NULL, 32, "status32_type");
30 tdesc_create_reg (feature, "lp_start", regnum++, 1, NULL, 32, "code_ptr");
31 tdesc_create_reg (feature, "lp_end", regnum++, 1, NULL, 32, "code_ptr");
32 tdesc_create_reg (feature, "bta", regnum++, 1, NULL, 32, "code_ptr");
33 return regnum;