aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/py-prettyprint.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/python/py-prettyprint.c')
-rw-r--r--gdb/python/py-prettyprint.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/python/py-prettyprint.c b/gdb/python/py-prettyprint.c
index 9276807..eb3a3fd 100644
--- a/gdb/python/py-prettyprint.c
+++ b/gdb/python/py-prettyprint.c
@@ -303,7 +303,7 @@ print_string_repr (PyObject *printer, const char *hint,
gdbpy_extract_lazy_string (py_str.get (), &addr, &type,
&length, &encoding);
- local_opts.addressprint = 0;
+ local_opts.addressprint = false;
val_print_string (type, encoding.get (), addr, (int) length,
stream, &local_opts);
}
@@ -338,7 +338,7 @@ print_string_repr (PyObject *printer, const char *hint,
{
struct value_print_options opts = *options;
- opts.addressprint = 0;
+ opts.addressprint = false;
common_val_print (replacement, stream, recurse, &opts, language);
}
else
@@ -506,7 +506,7 @@ print_children (PyObject *printer, const char *hint,
gdbpy_extract_lazy_string (py_v, &addr, &type, &length, &encoding);
- local_opts.addressprint = 0;
+ local_opts.addressprint = false;
val_print_string (type, encoding.get (), addr, (int) length, stream,
&local_opts);
}