diff options
author | Tom Tromey <tom@tromey.com> | 2023-01-31 11:11:17 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2023-02-13 15:21:07 -0700 |
commit | c8580184bbd1af58769d143b23d254737b08de9d (patch) | |
tree | e7ef1c03117c1a42aa71e60f56442b02eb8a67a5 /gdb/dwarf2/expr.c | |
parent | 3ee3b2700d59ec1048989a3bf190882740d2ea8b (diff) | |
download | gdb-c8580184bbd1af58769d143b23d254737b08de9d.zip gdb-c8580184bbd1af58769d143b23d254737b08de9d.tar.gz gdb-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/dwarf2/expr.c')
-rw-r--r-- | gdb/dwarf2/expr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/dwarf2/expr.c b/gdb/dwarf2/expr.c index 0274372..292ac8b 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) - set_value_stack (retval, 1); + retval->set_stack (1); } break; |