mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-15 04:31:49 +08:00
Use common_val_print in cp-valprint.c
This changes a spot in cp-valprint.c to use common_val_print rather than val_print. gdb/ChangeLog 2020-03-13 Tom Tromey <tom@tromey.com> * cp-valprint.c (cp_print_static_field): Use common_val_print.
This commit is contained in:
parent
72a45c9384
commit
410cf31501
@ -1,3 +1,7 @@
|
||||
2020-03-13 Tom Tromey <tom@tromey.com>
|
||||
|
||||
* cp-valprint.c (cp_print_static_field): Use common_val_print.
|
||||
|
||||
2020-03-13 Tom Tromey <tom@tromey.com>
|
||||
|
||||
* f-valprint.c (f77_print_array_1, f_val_print): Use
|
||||
|
@ -689,11 +689,7 @@ cp_print_static_field (struct type *type,
|
||||
|
||||
opts = *options;
|
||||
opts.deref_ref = 0;
|
||||
val_print (type,
|
||||
value_embedded_offset (val),
|
||||
value_address (val),
|
||||
stream, recurse, val,
|
||||
&opts, current_language);
|
||||
common_val_print (val, stream, recurse, &opts, current_language);
|
||||
}
|
||||
|
||||
/* Find the field in *SELF, or its non-virtual base classes, with
|
||||
|
Loading…
Reference in New Issue
Block a user