forked from Imagelibrary/binutils-gdb
* 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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user