diff options
Diffstat (limited to 'gdb/sparc-tdep.c')
-rw-r--r-- | gdb/sparc-tdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/sparc-tdep.c b/gdb/sparc-tdep.c index 1b42068..7302929 100644 --- a/gdb/sparc-tdep.c +++ b/gdb/sparc-tdep.c @@ -642,7 +642,7 @@ sparc32_store_arguments (struct regcache *regcache, int nargs, correct, and wasting a few bytes shouldn't be a problem. */ sp &= ~0x7; - write_memory (sp, value_contents (args[i]), len); + write_memory (sp, value_contents (args[i]).data (), len); args[i] = value_from_pointer (lookup_pointer_type (type), sp); num_elements++; } @@ -673,7 +673,7 @@ sparc32_store_arguments (struct regcache *regcache, int nargs, for (i = 0; i < nargs; i++) { - const bfd_byte *valbuf = value_contents (args[i]); + const bfd_byte *valbuf = value_contents (args[i]).data (); struct type *type = value_type (args[i]); int len = TYPE_LENGTH (type); gdb_byte buf[4]; |