diff options
Diffstat (limited to 'gdb/c-valprint.c')
-rw-r--r-- | gdb/c-valprint.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/c-valprint.c b/gdb/c-valprint.c index 4e5a95f..f0895a4 100644 --- a/gdb/c-valprint.c +++ b/gdb/c-valprint.c @@ -222,7 +222,8 @@ c_val_print (struct type *type, const gdb_byte *valaddr, int embedded_offset, { i = 0; } - val_print_array_elements (type, valaddr + embedded_offset, address, stream, + val_print_array_elements (type, valaddr + embedded_offset, + address + embedded_offset, stream, recurse, original_value, options, i); fprintf_filtered (stream, "}"); } |