diff options
author | Doug Evans <dje@google.com> | 2013-07-09 16:57:08 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2013-07-09 16:57:08 +0000 |
commit | d4588faba33dbb9f34002613e89703343030d28b (patch) | |
tree | 4a76d3ec0db5cf9c1efff1a992b4c51b798aa32f /gdb/valprint.h | |
parent | 2b5d365d2242abf445e2c834b1361723e13014aa (diff) | |
download | gdb-d4588faba33dbb9f34002613e89703343030d28b.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/valprint.h')
-rw-r--r-- | gdb/valprint.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/gdb/valprint.h b/gdb/valprint.h index 7baef2f9a17..3401afa8d07 100644 --- a/gdb/valprint.h +++ b/gdb/valprint.h @@ -24,14 +24,14 @@ functions. */ struct value_print_options { - /* Pretty-printing control. */ - enum val_prettyprint pretty; + /* Pretty-formatting control. */ + enum val_prettyformat prettyformat; - /* Controls pretty printing of arrays. */ - int prettyprint_arrays; + /* Controls pretty formatting of arrays. */ + int prettyformat_arrays; - /* Controls pretty printing of structures. */ - int prettyprint_structs; + /* Controls pretty formatting of structures. */ + int prettyformat_structs; /* Controls printing of virtual tables. */ int vtblprint; @@ -101,8 +101,8 @@ extern struct value_print_options user_print_options; extern void get_user_print_options (struct value_print_options *opts); /* Initialize *OPTS to be a copy of the user print options, but with - pretty-printing disabled. */ -extern void get_raw_print_options (struct value_print_options *opts); + pretty-formatting disabled. */ +extern void get_no_prettyformat_print_options (struct value_print_options *); /* Initialize *OPTS to be a copy of the user print options, but using FORMAT as the formatting option. */ |