diff options
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/cp-valprint.c | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6cda748..f43c406 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 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 common_val_print. diff --git a/gdb/cp-valprint.c b/gdb/cp-valprint.c index e936e3f..569b0a5 100644 --- a/gdb/cp-valprint.c +++ b/gdb/cp-valprint.c @@ -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 |