diff options
author | Tom Tromey <tom@tromey.com> | 2023-01-31 16:23:22 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2023-02-13 15:22:17 -0700 |
commit | aa9f4538ccbed2b5a84ece57c047e4f68a38c69e (patch) | |
tree | 89773923872228ec388b90f476001f51b2f7d74e /gdb/infcall.c | |
parent | d00664dbba2802bacfed2335b6f249fc418182a0 (diff) | |
download | binutils-gdb-aa9f4538ccbed2b5a84ece57c047e4f68a38c69e.tar.gz |
Turn value_non_lval and value_force_lval into methods
This changes value_non_lval and value_force_lval to be methods of
value.
Approved-By: Simon Marchi <simon.marchi@efficios.com>
Diffstat (limited to 'gdb/infcall.c')
-rw-r--r-- | gdb/infcall.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/infcall.c b/gdb/infcall.c index d6992228498..81a073d2123 100644 --- a/gdb/infcall.c +++ b/gdb/infcall.c @@ -492,7 +492,7 @@ get_call_return_value (struct call_return_meta_info *ri) requiring GDB to evaluate the "this" pointer. To evaluate the this pointer, GDB needs the memory address of the value. */ - value_force_lval (retval, ri->struct_addr); + retval->force_lval (ri->struct_addr); push_thread_stack_temporary (thr, retval); } } |