* 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".
This commit is contained in:
Doug Evans 2013-07-09 16:57:09 +00:00
parent 564027b8a9
commit 2a998fc037
19 changed files with 98 additions and 74 deletions

View file

@ -275,7 +275,7 @@ print_frame_arg (const struct frame_arg *arg)
else
language = current_language;
get_raw_print_options (&opts);
get_no_prettyformat_print_options (&opts);
opts.deref_ref = 1;
/* True in "summary" mode, false otherwise. */