From 65408fa680538f997cdd4b6fb9d74f043a060801 Mon Sep 17 00:00:00 2001 From: Yao Qi Date: Fri, 11 Nov 2016 08:38:31 +0000 Subject: Remove parameter valaddr from c print functions This patch removes parameter valaddr from some c print functions. gdb: 2016-11-11 Yao Qi * c-lang.h (cp_print_value_fields): Update declaration. * cp-valprint.c (cp_print_value): Update declaration. (cp_print_value_fields): Remove parameter valaddr. Callers updated. (cp_print_value): Likewise. --- gdb/m2-valprint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/m2-valprint.c') diff --git a/gdb/m2-valprint.c b/gdb/m2-valprint.c index f43a2d2..50c2b30 100644 --- a/gdb/m2-valprint.c +++ b/gdb/m2-valprint.c @@ -398,7 +398,7 @@ m2_val_print (struct type *type, int embedded_offset, m2_print_unbounded_array (type, valaddr, embedded_offset, address, stream, recurse, options); else - cp_print_value_fields (type, type, valaddr, embedded_offset, + cp_print_value_fields (type, type, embedded_offset, address, stream, recurse, original_value, options, NULL, 0); break; -- cgit v1.1