+2020-03-13 Tom Tromey <tom@tromey.com>
+
+ * f-valprint.c (f77_print_array_1, f_val_print): Use
+ common_val_print.
+
2020-03-13 Tom Tromey <tom@tromey.com>
* riscv-tdep.c (riscv_print_one_register_info): Use
{
struct value *elt = value_subscript ((struct value *)val, i);
- val_print (value_type (elt),
- value_embedded_offset (elt),
- value_address (elt), stream, recurse,
- elt, options, current_language);
+ common_val_print (elt, stream, recurse, options, current_language);
if (i != upperbound)
fprintf_filtered (stream, ", ");
fputs_filtered (" = ", stream);
}
- val_print (value_type (field),
- value_embedded_offset (field),
- value_address (field), stream, recurse + 1,
- field, options, current_language);
+ common_val_print (field, stream, recurse + 1,
+ options, current_language);
++printed_field;
}