aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2023-02-14 09:43:26 -0700
committerTom Tromey <tom@tromey.com>2023-02-15 15:07:07 -0700
commit42c13555ff880d8efeb89430c559b553e09e5311 (patch)
treec69559dcba6adc4d681dbbfbe3b9671615b911e5 /gdb/dwarf2
parenta7c27481a077a32c5a7c5bce11904a60dcec7feb (diff)
downloadgdb-42c13555ff880d8efeb89430c559b553e09e5311.zip
gdb-42c13555ff880d8efeb89430c559b553e09e5311.tar.gz
gdb-42c13555ff880d8efeb89430c559b553e09e5311.tar.bz2
Change value::m_stack to bool
This changes value::m_stack 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/expr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/dwarf2/expr.c b/gdb/dwarf2/expr.c
index 760c5c4..3f040e7 100644
--- a/gdb/dwarf2/expr.c
+++ b/gdb/dwarf2/expr.c
@@ -1005,7 +1005,7 @@ dwarf_expr_context::fetch_result (struct type *type, struct type *subobj_type,
retval = value_at_lazy (subobj_type,
address + subobj_offset);
if (in_stack_memory)
- retval->set_stack (1);
+ retval->set_stack (true);
}
break;