* 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.
This commit is contained in:
Pedro Alves
2009-02-26 19:44:39 +00:00
parent ebe24dd4f8
commit a0740d21fa
2 changed files with 9 additions and 3 deletions

View 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