]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/rs6000-tdep.c
* target.h (struct regcache): Add forward declaration.
[thirdparty/binutils-gdb.git] / gdb / rs6000-tdep.c
index 9622aa26e1adec2d4ebaae4cc5a4d4dea305b519..e5099f5e54c77e09a89903ee1be9ec6875c904d3 100644 (file)
@@ -1715,7 +1715,7 @@ ran_out_of_registers_for_arguments:
       regcache_raw_write_signed (regcache, tdep->ppc_toc_regnum, tocvalue);
     }
 
-  target_store_registers (-1);
+  target_store_registers (regcache, -1);
   return sp;
 }