* target.h (struct regcache): Add forward declaration.
[deliverable/binutils-gdb.git] / gdb / inf-child.c
index 5b51fe3e41c8b176910ba610d29375bb923d672b..00bb7fd640ec130bf2fb2f60aa65a57f542951f0 100644 (file)
    for all registers.  */
 
 static void
-inf_child_fetch_inferior_registers (int regnum)
+inf_child_fetch_inferior_registers (struct regcache *regcache, int regnum)
 {
   if (regnum == -1)
     {
       for (regnum = 0; regnum < NUM_REGS; regnum++)
-       regcache_raw_supply (current_regcache, regnum, NULL);
+       regcache_raw_supply (regcache, regnum, NULL);
     }
   else
-    regcache_raw_supply (current_regcache, regnum, NULL);
+    regcache_raw_supply (regcache, regnum, NULL);
 }
 
 /* Store register REGNUM back into the inferior.  If REGNUM is -1, do
    this for all registers (including the floating point registers).  */
 
 static void
-inf_child_store_inferior_registers (int regnum)
+inf_child_store_inferior_registers (struct regcache *regcache, int regnum)
 {
 }
 
This page took 0.024748 seconds and 4 git commands to generate.