aboutsummaryrefslogtreecommitdiff
path: root/gdb/frame-unwind.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2023-01-31 11:11:17 -0700
committerTom Tromey <tom@tromey.com>2023-02-13 15:21:07 -0700
commitc8580184bbd1af58769d143b23d254737b08de9d (patch)
treee7ef1c03117c1a42aa71e60f56442b02eb8a67a5 /gdb/frame-unwind.c
parent3ee3b2700d59ec1048989a3bf190882740d2ea8b (diff)
downloadbinutils-c8580184bbd1af58769d143b23d254737b08de9d.zip
binutils-c8580184bbd1af58769d143b23d254737b08de9d.tar.gz
binutils-c8580184bbd1af58769d143b23d254737b08de9d.tar.bz2
Turn value_stack and set_value_stack functions into methods
This changes the value_stack and set_value_stack functions to be methods of value. Approved-By: Simon Marchi <simon.marchi@efficios.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 76601fa..d3baedb 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);
- set_value_stack (v, 1);
+ v->set_stack (1);
return v;
}