diff options
Diffstat (limited to 'gdb/stack.c')
-rw-r--r-- | gdb/stack.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gdb/stack.c b/gdb/stack.c index 7f7478e..0fd7978 100644 --- a/gdb/stack.c +++ b/gdb/stack.c @@ -2838,9 +2838,10 @@ return_command (const char *retval_exp, int from_tty) gdb_assert (rv_conv != RETURN_VALUE_STRUCT_CONVENTION && rv_conv != RETURN_VALUE_ABI_RETURNS_ADDRESS); - gdbarch_return_value (cache_arch, function, return_type, - get_current_regcache (), NULL /*read*/, - value_contents (return_value).data () /*write*/); + gdbarch_return_value_as_value + (cache_arch, function, return_type, + get_current_regcache (), NULL /*read*/, + value_contents (return_value).data () /*write*/); } /* If we are at the end of a call dummy now, pop the dummy frame |