summaryrefslogtreecommitdiff
path: root/gdb/mips-linux-nat.c
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2009-02-26 19:44:39 +0000
committerPedro Alves <palves@redhat.com>2009-02-26 19:44:39 +0000
commita0740d21fab1a24e058a517d17bfb80f166ff9e1 (patch)
treeb01d0651848cb5754dc65599d386fbc7190c209b /gdb/mips-linux-nat.c
parentebe24dd4f8e4c7c8f34b6b69092d53053b6cd982 (diff)
* 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.
Diffstat (limited to 'gdb/mips-linux-nat.c')
-rw-r--r--gdb/mips-linux-nat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/mips-linux-nat.c b/gdb/mips-linux-nat.c
index 1acdcbeeea..2db2969c5f 100644
--- a/gdb/mips-linux-nat.c
+++ b/gdb/mips-linux-nat.c
@@ -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