diff options
Diffstat (limited to 'gdb/features/arc-arcompact.c')
-rw-r--r-- | gdb/features/arc-arcompact.c | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/gdb/features/arc-arcompact.c b/gdb/features/arc-arcompact.c index fd11e31..79b6889 100644 --- a/gdb/features/arc-arcompact.c +++ b/gdb/features/arc-arcompact.c @@ -51,22 +51,22 @@ initialize_tdesc_arc_arcompact (void) tdesc_create_reg (feature, "pcl", 33, 1, NULL, 32, "code_ptr"); feature = tdesc_create_feature (result, "org.gnu.gdb.arc.aux-minimal"); - struct tdesc_type *field_type; - struct tdesc_type *type; - type = tdesc_create_flags (feature, "status32_type", 4); - tdesc_add_flag (type, 0, "H"); - tdesc_add_bitfield (type, "E", 1, 2); - tdesc_add_bitfield (type, "A", 3, 4); - tdesc_add_flag (type, 5, "AE"); - tdesc_add_flag (type, 6, "DE"); - tdesc_add_flag (type, 7, "U"); - tdesc_add_flag (type, 8, "V"); - tdesc_add_flag (type, 9, "C"); - tdesc_add_flag (type, 10, "N"); - tdesc_add_flag (type, 11, "Z"); - tdesc_add_flag (type, 12, "L"); - tdesc_add_flag (type, 13, "R"); - tdesc_add_flag (type, 14, "SE"); + tdesc_type_with_fields *type_with_fields; + tdesc_type *field_type; + type_with_fields = tdesc_create_flags (feature, "status32_type", 4); + tdesc_add_flag (type_with_fields, 0, "H"); + tdesc_add_bitfield (type_with_fields, "E", 1, 2); + tdesc_add_bitfield (type_with_fields, "A", 3, 4); + tdesc_add_flag (type_with_fields, 5, "AE"); + tdesc_add_flag (type_with_fields, 6, "DE"); + tdesc_add_flag (type_with_fields, 7, "U"); + tdesc_add_flag (type_with_fields, 8, "V"); + tdesc_add_flag (type_with_fields, 9, "C"); + tdesc_add_flag (type_with_fields, 10, "N"); + tdesc_add_flag (type_with_fields, 11, "Z"); + tdesc_add_flag (type_with_fields, 12, "L"); + tdesc_add_flag (type_with_fields, 13, "R"); + tdesc_add_flag (type_with_fields, 14, "SE"); tdesc_create_reg (feature, "pc", 34, 1, NULL, 32, "code_ptr"); tdesc_create_reg (feature, "status32", 35, 1, NULL, 32, "status32_type"); |