From 316f20603ac3da3e7037cd20fd9580d6d77d71c5 Mon Sep 17 00:00:00 2001 From: Ulrich Weigand Date: Sun, 6 May 2007 18:55:41 +0000 Subject: * target.h (struct target_ops): Add REGCACHE parameter to to_prepare_to_store. (target_prepare_to_store): Likewise. * target.c (debug_to_prepare_to_store): Add REGCACHE parameter. (update_current_target): Adapt prepare_to_store de_fault rule. * regcache.c (regcache_raw_write): Pass regcache to target_prepare_to_store. * inftarg.c (child_prepare_to_store): Add REGCACHE parameter. Do not call CHILD_PREPARE_TO_STORE. * gnu-nat.c (gnu_prepare_to_store): Likewise. * procfs.c (procfs_prepare_to_store): Likewise. * inf-child.c (inf_child_prepare_to_store): Add REGCACHE parameter. * go32-nat.c (go32_prepare_to_store): Likewise. * monitor.c (monitor_prepare_to_store): Likewise. * nto-procfs.c (procfs_prepare_to_store): Likewise. * remote-m32r-sdi.c (m32r_prepare_to_store): Likewise. * remote-mips.c (mips_prepare_to_store): Likewise. * remote-sim.c (gdbsim_prepare_to_store): Likewise. * win32-nat.c (win32_prepare_to_store): Likewise. * remote.c (remote_prepare_to_store): Add REGCACHE parameter. Use it instead of current_regcache. * hpux-thread.c (hpux_thread_prepare_to_store): Add REGCACHE parameter. Pass it on to next target. * sol-thread.c (sol_thread_prepare_to_store): Likewise. --- gdb/go32-nat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/go32-nat.c') diff --git a/gdb/go32-nat.c b/gdb/go32-nat.c index b4b86728..a794c61 100644 --- a/gdb/go32-nat.c +++ b/gdb/go32-nat.c @@ -177,7 +177,7 @@ static ptid_t go32_wait (ptid_t ptid, static void go32_fetch_registers (struct regcache *, int regno); static void store_register (const struct regcache *, int regno); static void go32_store_registers (struct regcache *, int regno); -static void go32_prepare_to_store (void); +static void go32_prepare_to_store (struct regcache *); static int go32_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len, int write, struct mem_attrib *attrib, @@ -519,7 +519,7 @@ go32_store_registers (struct regcache *regcache, int regno) } static void -go32_prepare_to_store (void) +go32_prepare_to_store (struct regcache *regcache) { } -- cgit v1.1