summaryrefslogtreecommitdiff
path: root/gdb/valops.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2023-02-14 09:37:47 -0700
committerTom Tromey <tom@tromey.com>2023-02-15 15:07:07 -0700
commita5b210cb6980f6aa38ae339aeef40c82799822a1 (patch)
treee295483b6de278f20b1ac20e71ae3b58238364c9 /gdb/valops.c
parentb2227e67b4bdee65b1240f725dd2ea214178d984 (diff)
downloadbinutils-gdb-a5b210cb6980f6aa38ae339aeef40c82799822a1.tar.gz
Change value::m_lazy to bool
This changes value::m_lazy to be a bool and updates the various uses. Reviewed-By: Bruno Larsen <blarsen@redhat.com>
Diffstat (limited to 'gdb/valops.c')
-rw-r--r--gdb/valops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/valops.c b/gdb/valops.c
index 3901053c7d5..90f7b8c5532 100644
--- a/gdb/valops.c
+++ b/gdb/valops.c
@@ -1343,7 +1343,7 @@ value_assign (struct value *toval, struct value *fromval)
information, but its contents are updated from FROMVAL. This
implies the returned value is not lazy, even if TOVAL was. */
val = toval->copy ();
- val->set_lazy (0);
+ val->set_lazy (false);
copy (fromval->contents (), val->contents_raw ());
/* We copy over the enclosing type and pointed-to offset from FROMVAL