summaryrefslogtreecommitdiff
path: root/gdb/mips-linux-nat.c
diff options
context:
space:
mode:
authorPedro Alves <pedro@codesourcery.com>2009-02-26 19:44:39 +0000
committerPedro Alves <pedro@codesourcery.com>2009-02-26 19:44:39 +0000
commit8e336bc6b968e678de0b4baf968a5108e3cee9be (patch)
treeb8e7870640310ab28ca8205ed0b48debb49b2da5 /gdb/mips-linux-nat.c
parent9f08a3932eefd332b72483ccec1cad049c0c7c4a (diff)
downloadgdb-8e336bc6b968e678de0b4baf968a5108e3cee9be.tar.gz
* 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 1acdcbeeea0..2db2969c5fe 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