*** empty log message ***
authorMark Kettenis <kettenis@gnu.org>
Sun, 13 Jul 2003 16:38:04 +0000 (16:38 +0000)
committerMark Kettenis <kettenis@gnu.org>
Sun, 13 Jul 2003 16:38:04 +0000 (16:38 +0000)
gdb/x86-64-tdep.c

index 8bb507cd48afbe7034fb33eee38ff71f38dcb6fe..a93af05dc8ade471cb149763e0172673c377be5a 100644 (file)
@@ -788,7 +788,8 @@ x86_64_store_return_value (struct type *type, struct regcache *regcache,
   else if (TYPE_CODE_FLT == TYPE_CODE (type))
     {
       /* Handle double and float variables.  */
-      regcache_cooked_write_part (regcache, X86_64_XMM0_REGNUM, 0, len, buf);
+      regcache_cooked_write_part (regcache, X86_64_XMM0_REGNUM,
+                                 0, len, valbuf);
     }
   /* XXX: What about complex floating point types?  */
   else