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/guile/scm-value.c | |
parent | 6829683679ce66f3ff3aa184609afa59ac349637 (diff) | |
download | binutils-dad6b350f986a58abe469f4584ac515e7ac17879.zip binutils-dad6b350f986a58abe469f4584ac515e7ac17879.tar.gz binutils-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/guile/scm-value.c')
-rw-r--r-- | gdb/guile/scm-value.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/guile/scm-value.c b/gdb/guile/scm-value.c index 0107a4b..8ff2823 100644 --- a/gdb/guile/scm-value.c +++ b/gdb/guile/scm-value.c @@ -148,7 +148,7 @@ vlscm_print_value_smob (SCM self, SCM port, scm_print_state *pstate) gdbscm_printf (port, "#<%s ", value_smob_name); get_user_print_options (&opts); - opts.deref_ref = 0; + opts.deref_ref = false; /* pstate->writingp = zero if invoked by display/~A, and nonzero if invoked by write/~S. What to do here may need to evolve. @@ -1264,7 +1264,7 @@ gdbscm_value_print (SCM self) struct value_print_options opts; get_user_print_options (&opts); - opts.deref_ref = 0; + opts.deref_ref = false; string_file stb; |