diff options
Diffstat (limited to 'gdb/stack.c')
-rw-r--r-- | gdb/stack.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/stack.c b/gdb/stack.c index bedadb0..66517cf 100644 --- a/gdb/stack.c +++ b/gdb/stack.c @@ -1716,8 +1716,8 @@ info_frame_command_core (struct frame_info *fi, bool selected_frame_p) enum bfd_endian byte_order = gdbarch_byte_order (gdbarch); int sp_size = register_size (gdbarch, sp_regnum); - sp = extract_unsigned_integer (value_contents_all (value), - sp_size, byte_order); + sp = extract_unsigned_integer + (value_contents_all (value).data (), sp_size, byte_order); printf_filtered (" Previous frame's sp is "); fputs_filtered (paddress (gdbarch, sp), gdb_stdout); @@ -2842,7 +2842,7 @@ return_command (const char *retval_exp, int from_tty) && rv_conv != RETURN_VALUE_ABI_RETURNS_ADDRESS); gdbarch_return_value (cache_arch, function, return_type, get_current_regcache (), NULL /*read*/, - value_contents (return_value) /*write*/); + value_contents (return_value).data () /*write*/); } /* If we are at the end of a call dummy now, pop the dummy frame |