diff options
Diffstat (limited to 'gdb/python/py-value.c')
-rw-r--r-- | gdb/python/py-value.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/python/py-value.c b/gdb/python/py-value.c index 92a1530..44b4ebc 100644 --- a/gdb/python/py-value.c +++ b/gdb/python/py-value.c @@ -675,7 +675,7 @@ valpy_format_string (PyObject *self, PyObject *args, PyObject *kw) struct value_print_options opts; gdbpy_get_print_options (&opts); - opts.deref_ref = 0; + opts.deref_ref = false; /* We need objects for booleans as the "p" flag for bools is new in Python 3.3. */ @@ -1169,7 +1169,7 @@ valpy_str (PyObject *self) struct value_print_options opts; gdbpy_get_print_options (&opts); - opts.deref_ref = 0; + opts.deref_ref = false; string_file stb; |