From: Pedro Alves Date: Thu, 26 Feb 2009 19:44:39 +0000 (+0000) Subject: * mips-linux-nat.c (mips64_linux_fetch_registers): Pass `ops' to X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a0740d21fab1a24e058a517d17bfb80f166ff9e1;p=binutils-gdb.git * 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. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 705802ddc45..02d0fc6ddbd 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,10 @@ +2009-02-26 Pedro Alves + + * 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 * 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 * remote-sim.c (gdbsim_resume): Add target_ops* argument. 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