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/mi | |
parent | 564027b8a9792a79467d4d9d972ee0c46d82fd11 (diff) | |
download | binutils-gdb-2a998fc0370ac0b32051eb31238699d92e1dd81a.tar.gz |
* 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/mi')
-rw-r--r-- | gdb/mi/mi-cmd-stack.c | 2 | ||||
-rw-r--r-- | gdb/mi/mi-main.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/gdb/mi/mi-cmd-stack.c b/gdb/mi/mi-cmd-stack.c index 4b21015e25a..1f1068cd734 100644 --- a/gdb/mi/mi-cmd-stack.c +++ b/gdb/mi/mi-cmd-stack.c @@ -428,7 +428,7 @@ list_arg_or_local (const struct frame_arg *arg, enum what_to_list what, { struct value_print_options opts; - get_raw_print_options (&opts); + get_no_prettyformat_print_options (&opts); opts.deref_ref = 1; common_val_print (arg->val, stb, 0, &opts, language_def (SYMBOL_LANGUAGE (arg->sym))); diff --git a/gdb/mi/mi-main.c b/gdb/mi/mi-main.c index d6c763e9754..62891435180 100644 --- a/gdb/mi/mi-main.c +++ b/gdb/mi/mi-main.c @@ -2627,7 +2627,7 @@ print_variable_or_computed (char *expression, enum print_values values) { struct value_print_options opts; - get_raw_print_options (&opts); + get_no_prettyformat_print_options (&opts); opts.deref_ref = 1; common_val_print (val, stb, 0, &opts, current_language); ui_out_field_stream (uiout, "value", stb); @@ -2637,7 +2637,7 @@ print_variable_or_computed (char *expression, enum print_values values) { struct value_print_options opts; - get_raw_print_options (&opts); + get_no_prettyformat_print_options (&opts); opts.deref_ref = 1; common_val_print (val, stb, 0, &opts, current_language); ui_out_field_stream (uiout, "value", stb); |