+2020-03-13 Tom Tromey <tom@tromey.com>
+
+ * ada-valprint.c (ada_value_print): Use common_val_print.
+
2020-03-13 Tom Tromey <tom@tromey.com>
* ada-valprint.c (ada_val_print_ref): Use common_val_print.
const struct value_print_options *options)
{
struct value *val = ada_to_fixed_value (val0);
- CORE_ADDR address = value_address (val);
struct type *type = ada_check_typedef (value_type (val));
struct value_print_options opts;
opts = *options;
opts.deref_ref = 1;
- val_print (type,
- value_embedded_offset (val), address,
- stream, 0, val, &opts, current_language);
+ common_val_print (val, stream, 0, &opts, current_language);
}