aboutsummaryrefslogtreecommitdiff
path: root/gdb/stack.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2022-06-12 14:13:22 -0600
committerTom Tromey <tom@tromey.com>2022-12-19 08:18:59 -0700
commitdad6b350f986a58abe469f4584ac515e7ac17879 (patch)
treed0112c62a3ff0ae9addccd5983035b443d8742a0 /gdb/stack.c
parent6829683679ce66f3ff3aa184609afa59ac349637 (diff)
downloadgdb-dad6b350f986a58abe469f4584ac515e7ac17879.zip
gdb-dad6b350f986a58abe469f4584ac515e7ac17879.tar.gz
gdb-dad6b350f986a58abe469f4584ac515e7ac17879.tar.bz2
Use bool constants for value_print_options
This changes the uses of value_print_options to use 'true' and 'false' rather than integers.
Diffstat (limited to 'gdb/stack.c')
-rw-r--r--gdb/stack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/stack.c b/gdb/stack.c
index c7d3928..e4bbcf9 100644
--- a/gdb/stack.c
+++ b/gdb/stack.c
@@ -479,7 +479,7 @@ print_frame_arg (const frame_print_options &fp_opts,
language = current_language;
get_no_prettyformat_print_options (&vp_opts);
- vp_opts.deref_ref = 1;
+ vp_opts.deref_ref = true;
vp_opts.raw = fp_opts.print_raw_frame_arguments;
/* True in "summary" mode, false otherwise. */