aboutsummaryrefslogtreecommitdiff
path: root/gdb/m2-valprint.c
diff options
context:
space:
mode:
authorYao Qi <yao.qi@linaro.org>2016-11-11 08:38:31 +0000
committerYao Qi <yao.qi@linaro.org>2016-11-11 08:38:31 +0000
commit65408fa680538f997cdd4b6fb9d74f043a060801 (patch)
tree6598891aae5b52aa39e0578e666ffea7e7957e2c /gdb/m2-valprint.c
parent91588b3af8e026ba11c7368476cc1f3fa8c2e2b1 (diff)
downloadgdb-65408fa680538f997cdd4b6fb9d74f043a060801.zip
gdb-65408fa680538f997cdd4b6fb9d74f043a060801.tar.gz
gdb-65408fa680538f997cdd4b6fb9d74f043a060801.tar.bz2
Remove parameter valaddr from c print functions
This patch removes parameter valaddr from some c print functions. gdb: 2016-11-11 Yao Qi <yao.qi@linaro.org> * 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.
Diffstat (limited to 'gdb/m2-valprint.c')
-rw-r--r--gdb/m2-valprint.c2
1 files changed, 1 insertions, 1 deletions
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;