aboutsummaryrefslogtreecommitdiff
path: root/gdb/c-valprint.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/c-valprint.c')
-rw-r--r--gdb/c-valprint.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/gdb/c-valprint.c b/gdb/c-valprint.c
index c6d3eae..bbe5588 100644
--- a/gdb/c-valprint.c
+++ b/gdb/c-valprint.c
@@ -233,10 +233,9 @@ c_val_print (struct type *type, const gdb_byte *valaddr,
{
i = 0;
}
- val_print_array_elements (type, valaddr + embedded_offset,
- address + embedded_offset,
- stream, recurse,
- original_value, options, i);
+ val_print_array_elements (type, valaddr, embedded_offset,
+ address, stream,
+ recurse, original_value, options, i);
fprintf_filtered (stream, "}");
}
break;