summaryrefslogtreecommitdiff
path: root/gdb/expprint.c
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2013-07-09 16:57:08 +0000
committerDoug Evans <dje@google.com>2013-07-09 16:57:08 +0000
commitd4588faba33dbb9f34002613e89703343030d28b (patch)
tree4a76d3ec0db5cf9c1efff1a992b4c51b798aa32f /gdb/expprint.c
parent2b5d365d2242abf445e2c834b1361723e13014aa (diff)
downloadgdb-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/expprint.c')
-rw-r--r--gdb/expprint.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/expprint.c b/gdb/expprint.c
index ea9b5601f52..648e66aaf38 100644
--- a/gdb/expprint.c
+++ b/gdb/expprint.c
@@ -99,7 +99,7 @@ print_subexp_standard (struct expression *exp, int *pos,
{
struct value_print_options opts;
- get_raw_print_options (&opts);
+ get_no_prettyformat_print_options (&opts);
(*pos) += 3;
value_print (value_from_longest (exp->elts[pc + 1].type,
exp->elts[pc + 2].longconst),
@@ -111,7 +111,7 @@ print_subexp_standard (struct expression *exp, int *pos,
{
struct value_print_options opts;
- get_raw_print_options (&opts);
+ get_no_prettyformat_print_options (&opts);
(*pos) += 3;
value_print (value_from_double (exp->elts[pc + 1].type,
exp->elts[pc + 2].doubleconst),
@@ -448,7 +448,7 @@ print_subexp_standard (struct expression *exp, int *pos,
(*pos) += 4;
val = value_at_lazy (exp->elts[pc + 1].type,
(CORE_ADDR) exp->elts[pc + 5].longconst);
- get_raw_print_options (&opts);
+ get_no_prettyformat_print_options (&opts);
value_print (val, stream, &opts);
}
else