[gdb/tdep] Fix gdb.base/readnever.exp on s390x
[binutils-gdb.git] / gdb / features / arc / v2-aux.c
blob7b38e377fe14967bff586c6d0667d32cbe34fca6
1 /* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro:
2 Original: v2-aux.xml */
4 #include "gdbsupport/tdesc.h"
6 static int
7 create_feature_arc_v2_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, 4);
16 tdesc_add_flag (type_with_fields, 5, "AE");
17 tdesc_add_flag (type_with_fields, 6, "DE");
18 tdesc_add_flag (type_with_fields, 7, "U");
19 tdesc_add_flag (type_with_fields, 8, "V");
20 tdesc_add_flag (type_with_fields, 9, "C");
21 tdesc_add_flag (type_with_fields, 10, "N");
22 tdesc_add_flag (type_with_fields, 11, "Z");
23 tdesc_add_flag (type_with_fields, 12, "L");
24 tdesc_add_flag (type_with_fields, 13, "DZ");
25 tdesc_add_flag (type_with_fields, 14, "SC");
26 tdesc_add_flag (type_with_fields, 15, "ES");
27 tdesc_add_bitfield (type_with_fields, "RB", 16, 18);
28 tdesc_add_flag (type_with_fields, 19, "AD");
29 tdesc_add_flag (type_with_fields, 20, "US");
30 tdesc_add_flag (type_with_fields, 31, "IE");
32 tdesc_create_reg (feature, "pc", regnum++, 1, NULL, 32, "code_ptr");
33 tdesc_create_reg (feature, "status32", regnum++, 1, NULL, 32, "status32_type");
34 tdesc_create_reg (feature, "lp_start", regnum++, 1, NULL, 32, "code_ptr");
35 tdesc_create_reg (feature, "lp_end", regnum++, 1, NULL, 32, "code_ptr");
36 tdesc_create_reg (feature, "bta", regnum++, 1, NULL, 32, "code_ptr");
37 return regnum;