* mips-linux-nat.c (mips64_linux_fetch_registers): Pass `ops' to
authorPedro Alves <palves@redhat.com>
Thu, 26 Feb 2009 19:44:39 +0000 (19:44 +0000)
committerPedro Alves <palves@redhat.com>
Thu, 26 Feb 2009 19:44:39 +0000 (19:44 +0000)
call to super_fetch_registers.
(mips64_linux_store_registers): Pass `ops' to call to
super_store_registers.

gdb/ChangeLog
gdb/mips-linux-nat.c

index 705802d..02d0fc6 100644 (file)
@@ -1,3 +1,10 @@
+2009-02-26  Pedro Alves  <pedro@codesourcery.com>
+
+       * mips-linux-nat.c (mips64_linux_fetch_registers): Pass `ops' to
+       call to super_fetch_registers.
+       (mips64_linux_store_registers): Pass `ops' to call to
+       super_store_registers.
+
 2009-02-25  Doug Evans  <dje@google.com>
 
        * breakpoint.c (insert_bp_location): Add \n to overlay breakpoint
@@ -42,7 +49,6 @@
        * windows-nat.c (windows_thread_alive): Fix forward declaration.
        (get_windows_debug_event): Add ops parameter to call to windows_resume.
 
-
 2009-02-23  Pedro Alves  <pedro@codesourcery.com>
 
        * remote-sim.c (gdbsim_resume): Add target_ops* argument.
index 1acdcbe..2db2969 100644 (file)
@@ -314,7 +314,7 @@ mips64_linux_fetch_registers (struct target_ops *ops,
   /* If we know, or just found out, that PTRACE_GETREGS does not work, fall
      back to PTRACE_PEEKUSER.  */
   if (!have_ptrace_regsets)
-    super_fetch_registers (regcache, regnum);
+    super_fetch_registers (ops, regcache, regnum);
 }
 
 /* Store REGNO (or all registers if REGNO == -1) to the target
@@ -331,7 +331,7 @@ mips64_linux_store_registers (struct target_ops *ops,
   /* If we know, or just found out, that PTRACE_GETREGS does not work, fall
      back to PTRACE_PEEKUSER.  */
   if (!have_ptrace_regsets)
-    super_store_registers (regcache, regnum);
+    super_store_registers (ops, regcache, regnum);
 }
 
 /* Return the address in the core dump or inferior of register