mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-17 07:53:51 +08:00
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>
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user