]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/ia64-tdep.c
* target.h (struct regcache): Add forward declaration.
[thirdparty/binutils-gdb.git] / gdb / ia64-tdep.c
index 09c37068bede79bc849def466f326dfad0a8c6c4..a4ddfff536c7db7fd15464c44043dbc31e4121e4 100644 (file)
@@ -3540,7 +3540,7 @@ ia64_store_return_value (struct type *type, struct regcache *regcache,
       char to[MAX_REGISTER_SIZE];
       convert_typed_floating (valbuf, type, to, builtin_type_ia64_ext);
       regcache_cooked_write (regcache, IA64_FR8_REGNUM, (void *)to);
-      target_store_registers (IA64_FR8_REGNUM);
+      target_store_registers (regcache, IA64_FR8_REGNUM);
     }
   else
     regcache_cooked_write (regcache, IA64_GR8_REGNUM, valbuf);