diff options
Diffstat (limited to 'gdb/c-valprint.c')
-rw-r--r-- | gdb/c-valprint.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/c-valprint.c b/gdb/c-valprint.c index ce2c29d..3466df0 100644 --- a/gdb/c-valprint.c +++ b/gdb/c-valprint.c @@ -161,7 +161,7 @@ c_val_print (struct type *type, const gdb_byte *valaddr, eltlen = TYPE_LENGTH (elttype); len = high_bound - low_bound + 1; - if (options->prettyprint_arrays) + if (options->prettyformat_arrays) { print_spaces_filtered (2 + 2 * recurse, stream); } @@ -353,7 +353,7 @@ c_val_print (struct type *type, const gdb_byte *valaddr, vt_val = value_at (wtype, vt_address); common_val_print (vt_val, stream, recurse + 1, options, current_language); - if (options->pretty) + if (options->prettyformat) { fprintf_filtered (stream, "\n"); print_spaces_filtered (2 + 2 * recurse, stream); |