diff options
author | Tom Tromey <tom@tromey.com> | 2022-06-12 14:13:22 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2022-12-19 08:18:59 -0700 |
commit | dad6b350f986a58abe469f4584ac515e7ac17879 (patch) | |
tree | d0112c62a3ff0ae9addccd5983035b443d8742a0 /gdb/mi/mi-cmd-stack.c | |
parent | 6829683679ce66f3ff3aa184609afa59ac349637 (diff) | |
download | gdb-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/mi/mi-cmd-stack.c')
-rw-r--r-- | gdb/mi/mi-cmd-stack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/mi/mi-cmd-stack.c b/gdb/mi/mi-cmd-stack.c index f0af7c9..b14f41d 100644 --- a/gdb/mi/mi-cmd-stack.c +++ b/gdb/mi/mi-cmd-stack.c @@ -545,7 +545,7 @@ list_arg_or_local (const struct frame_arg *arg, enum what_to_list what, struct value_print_options opts; get_no_prettyformat_print_options (&opts); - opts.deref_ref = 1; + opts.deref_ref = true; common_val_print (arg->val, &stb, 0, &opts, language_def (arg->sym->language ())); } |