aboutsummaryrefslogtreecommitdiff
path: root/gdb/cp-valprint.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/cp-valprint.c')
-rw-r--r--gdb/cp-valprint.c6
1 files changed, 1 insertions, 5 deletions
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