aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2
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/dwarf2
parentb2227e67b4bdee65b1240f725dd2ea214178d984 (diff)
downloadgdb-a5b210cb6980f6aa38ae339aeef40c82799822a1.zip
gdb-a5b210cb6980f6aa38ae339aeef40c82799822a1.tar.gz
gdb-a5b210cb6980f6aa38ae339aeef40c82799822a1.tar.bz2
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/dwarf2')
-rw-r--r--gdb/dwarf2/loc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/dwarf2/loc.c b/gdb/dwarf2/loc.c
index 27c4b7c..0ab54ab 100644
--- a/gdb/dwarf2/loc.c
+++ b/gdb/dwarf2/loc.c
@@ -1366,7 +1366,7 @@ value_of_dwarf_reg_entry (struct type *type, frame_info_ptr frame,
memcpy (val->contents_raw ().data (),
outer_val->contents_raw ().data (),
checked_type->length ());
- val->set_lazy (0);
+ val->set_lazy (false);
return val;
}