diff options
Diffstat (limited to 'gdb/features/s390x-vx-linux64.c')
-rw-r--r-- | gdb/features/s390x-vx-linux64.c | 45 |
1 files changed, 23 insertions, 22 deletions
diff --git a/gdb/features/s390x-vx-linux64.c b/gdb/features/s390x-vx-linux64.c index 120db53..1f24349 100644 --- a/gdb/features/s390x-vx-linux64.c +++ b/gdb/features/s390x-vx-linux64.c @@ -77,41 +77,42 @@ initialize_tdesc_s390x_vx_linux64 (void) tdesc_create_reg (feature, "system_call", 53, 1, "system", 32, "uint32"); feature = tdesc_create_feature (result, "org.gnu.gdb.s390.vx"); - struct tdesc_type *field_type; - field_type = tdesc_named_type (feature, "ieee_single"); - tdesc_create_vector (feature, "v4f", field_type, 4); + tdesc_type *element_type; + element_type = tdesc_named_type (feature, "ieee_single"); + tdesc_create_vector (feature, "v4f", element_type, 4); - field_type = tdesc_named_type (feature, "ieee_double"); - tdesc_create_vector (feature, "v2d", field_type, 2); + element_type = tdesc_named_type (feature, "ieee_double"); + tdesc_create_vector (feature, "v2d", element_type, 2); - field_type = tdesc_named_type (feature, "int8"); - tdesc_create_vector (feature, "v16i8", field_type, 16); + element_type = tdesc_named_type (feature, "int8"); + tdesc_create_vector (feature, "v16i8", element_type, 16); - field_type = tdesc_named_type (feature, "int16"); - tdesc_create_vector (feature, "v8i16", field_type, 8); + element_type = tdesc_named_type (feature, "int16"); + tdesc_create_vector (feature, "v8i16", element_type, 8); - field_type = tdesc_named_type (feature, "int32"); - tdesc_create_vector (feature, "v4i32", field_type, 4); + element_type = tdesc_named_type (feature, "int32"); + tdesc_create_vector (feature, "v4i32", element_type, 4); - field_type = tdesc_named_type (feature, "int64"); - tdesc_create_vector (feature, "v2i64", field_type, 2); + element_type = tdesc_named_type (feature, "int64"); + tdesc_create_vector (feature, "v2i64", element_type, 2); - struct tdesc_type *type; - type = tdesc_create_union (feature, "vec128"); + tdesc_type_with_fields *type_with_fields; + tdesc_type *field_type; + type_with_fields = tdesc_create_union (feature, "vec128"); field_type = tdesc_named_type (feature, "v4f"); - tdesc_add_field (type, "v4_float", field_type); + tdesc_add_field (type_with_fields, "v4_float", field_type); field_type = tdesc_named_type (feature, "v2d"); - tdesc_add_field (type, "v2_double", field_type); + tdesc_add_field (type_with_fields, "v2_double", field_type); field_type = tdesc_named_type (feature, "v16i8"); - tdesc_add_field (type, "v16_int8", field_type); + tdesc_add_field (type_with_fields, "v16_int8", field_type); field_type = tdesc_named_type (feature, "v8i16"); - tdesc_add_field (type, "v8_int16", field_type); + tdesc_add_field (type_with_fields, "v8_int16", field_type); field_type = tdesc_named_type (feature, "v4i32"); - tdesc_add_field (type, "v4_int32", field_type); + tdesc_add_field (type_with_fields, "v4_int32", field_type); field_type = tdesc_named_type (feature, "v2i64"); - tdesc_add_field (type, "v2_int64", field_type); + tdesc_add_field (type_with_fields, "v2_int64", field_type); field_type = tdesc_named_type (feature, "uint128"); - tdesc_add_field (type, "uint128", field_type); + tdesc_add_field (type_with_fields, "uint128", field_type); tdesc_create_reg (feature, "v0l", 54, 1, NULL, 64, "uint64"); tdesc_create_reg (feature, "v1l", 55, 1, NULL, 64, "uint64"); |