diff options
author | Doug Evans <dje@google.com> | 2013-07-09 16:57:09 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2013-07-09 16:57:09 +0000 |
commit | 2a998fc0370ac0b32051eb31238699d92e1dd81a (patch) | |
tree | e84ac72afb7db0f40bab18d8676db0ecbe25cd47 /gdb/cp-valprint.c | |
parent | 564027b8a9792a79467d4d9d972ee0c46d82fd11 (diff) | |
download | gdb-2a998fc0370ac0b32051eb31238699d92e1dd81a.zip gdb-2a998fc0370ac0b32051eb31238699d92e1dd81a.tar.gz gdb-2a998fc0370ac0b32051eb31238699d92e1dd81a.tar.bz2 |
* defs.h (enum val_prettyformat): Renamed from val_prettyprint.
Enum values rename as well. All uses updated.
* valprint.h (value_print_options): Rename member pretty to
pretty format. Rename member prettyprint_arrays to
prettyformat_arrays. Rename member prettyprint_structs to
prettyformat_structs. All uses updated.
(get_no_prettyformat_print_options): Renamed from
get_raw_print_options.
* valprint.c (get_no_prettyformat_print_options): Renamed from
get_raw_print_options. All callers updated.
(show_prettyformat_structs): Renamed from show_prettyprint_structs.
All callers updated.
(show_prettyformat_arrays): Renamed from show_prettyprint_arrays.
All callers updated.
(_initialize_valprint): Improve help text for "set print pretty" and
"set print arrays".
testsuite/
* gdb.base/default.exp: Update expected output of "show print array"
and "show print pretty".
Diffstat (limited to 'gdb/cp-valprint.c')
-rw-r--r-- | gdb/cp-valprint.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/cp-valprint.c b/gdb/cp-valprint.c index 0871848..e83d979 100644 --- a/gdb/cp-valprint.c +++ b/gdb/cp-valprint.c @@ -239,7 +239,7 @@ cp_print_value_fields (struct type *type, struct type *real_type, fprintf_filtered (stream, ", "); else if (n_baseclasses > 0) { - if (options->pretty) + if (options->prettyformat) { fprintf_filtered (stream, "\n"); print_spaces_filtered (2 + 2 * recurse, stream); @@ -250,7 +250,7 @@ cp_print_value_fields (struct type *type, struct type *real_type, } fields_seen = 1; - if (options->pretty) + if (options->prettyformat) { fprintf_filtered (stream, "\n"); print_spaces_filtered (2 + 2 * recurse, stream); @@ -407,7 +407,7 @@ cp_print_value_fields (struct type *type, struct type *real_type, } } - if (options->pretty) + if (options->prettyformat) { fprintf_filtered (stream, "\n"); print_spaces_filtered (2 * recurse, stream); @@ -568,7 +568,7 @@ cp_print_value (struct type *type, struct type *real_type, } /* Now do the printing. */ - if (options->pretty) + if (options->prettyformat) { fprintf_filtered (stream, "\n"); print_spaces_filtered (2 * recurse, stream); |