* target.h (struct target_ops): Add REGCACHE parameter to
authorUlrich Weigand <uweigand@de.ibm.com>
Sun, 6 May 2007 18:55:41 +0000 (18:55 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Sun, 6 May 2007 18:55:41 +0000 (18:55 +0000)
commit316f20603ac3da3e7037cd20fd9580d6d77d71c5
tree7d9bee4dc35936cb083187e103fe33e5978d5751
parent56be38147cbe5a85a4d2d4d9cf402696826a4392
* 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.
19 files changed:
gdb/ChangeLog
gdb/gnu-nat.c
gdb/go32-nat.c
gdb/hpux-thread.c
gdb/inf-child.c
gdb/inftarg.c
gdb/monitor.c
gdb/nto-procfs.c
gdb/procfs.c
gdb/regcache.c
gdb/remote-m32r-sdi.c
gdb/remote-mips.c
gdb/remote-sim.c
gdb/remote.c
gdb/sol-thread.c
gdb/target.c
gdb/target.h
gdb/win32-nat.c
gdb/windows-nat.c