[AArch64] PR target/20666, fix wrong encoding of new introduced BFC pseudo
[deliverable/binutils-gdb.git] / gdb / sparc64-tdep.c
index 4c05277bf305e287fdbbcf04a3f6dc569db9638b..5e8f17deee878975025e5ed5e65d5d8a026c30e8 100644 (file)
@@ -1,6 +1,6 @@
 /* Target-dependent code for UltraSPARC.
 
-   Copyright (C) 2003-2015 Free Software Foundation, Inc.
+   Copyright (C) 2003-2016 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -890,7 +890,8 @@ sparc64_store_arguments (struct regcache *regcache, int nargs,
          /* Structure, Union or long double Complex arguments.  */
          gdb_assert (len <= 16);
          memset (buf, 0, sizeof (buf));
-         valbuf = memcpy (buf, valbuf, len);
+         memcpy (buf, valbuf, len);
+         valbuf = buf;
 
          if (element % 2 && sparc64_16_byte_align_p (type))
            element++;
This page took 0.024383 seconds and 4 git commands to generate.