aboutsummaryrefslogtreecommitdiff
path: root/gdb/frame-unwind.c
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/frame-unwind.c
parenta7c27481a077a32c5a7c5bce11904a60dcec7feb (diff)
downloadbinutils-42c13555ff880d8efeb89430c559b553e09e5311.zip
binutils-42c13555ff880d8efeb89430c559b553e09e5311.tar.gz
binutils-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/frame-unwind.c')
-rw-r--r--gdb/frame-unwind.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/frame-unwind.c b/gdb/frame-unwind.c
index e5f8dc6..a3673dd 100644
--- a/gdb/frame-unwind.c
+++ b/gdb/frame-unwind.c
@@ -289,7 +289,7 @@ frame_unwind_got_memory (frame_info_ptr frame, int regnum, CORE_ADDR addr)
struct gdbarch *gdbarch = frame_unwind_arch (frame);
struct value *v = value_at_lazy (register_type (gdbarch, regnum), addr);
- v->set_stack (1);
+ v->set_stack (true);
return v;
}