gdb: add target_ops::supports_displaced_step
[deliverable/binutils-gdb.git] / gdb / features / arc / aux-arcompact.c
1 /* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro:
2 Original: aux-arcompact.xml */
3
4 #include "gdbsupport/tdesc.h"
5
6 static int
7 create_feature_arc_aux_arcompact (struct target_desc *result, long regnum)
8 {
9 struct tdesc_feature *feature;
10
11 feature = tdesc_create_feature (result, "org.gnu.gdb.arc.aux-minimal");
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");
27
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 return regnum;
31 }
This page took 0.031171 seconds and 4 git commands to generate.