From a0740d21fab1a24e058a517d17bfb80f166ff9e1 Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Thu, 26 Feb 2009 19:44:39 +0000 Subject: [PATCH] * 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. --- gdb/ChangeLog | 8 +++++++- gdb/mips-linux-nat.c | 4 ++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 705802d..02d0fc6 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 1acdcbe..2db2969 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 -- 2.7.4