diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2007-05-06 18:55:41 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2007-05-06 18:55:41 +0000 |
commit | 316f20603ac3da3e7037cd20fd9580d6d77d71c5 (patch) | |
tree | 7d9bee4dc35936cb083187e103fe33e5978d5751 /gdb/gnu-nat.c | |
parent | 56be38147cbe5a85a4d2d4d9cf402696826a4392 (diff) | |
download | gdb-316f20603ac3da3e7037cd20fd9580d6d77d71c5.zip gdb-316f20603ac3da3e7037cd20fd9580d6d77d71c5.tar.gz gdb-316f20603ac3da3e7037cd20fd9580d6d77d71c5.tar.bz2 |
* 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.
Diffstat (limited to 'gdb/gnu-nat.c')
-rw-r--r-- | gdb/gnu-nat.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gdb/gnu-nat.c b/gdb/gnu-nat.c index 4e8b82e..80ceb90 100644 --- a/gdb/gnu-nat.c +++ b/gdb/gnu-nat.c @@ -2207,11 +2207,8 @@ gnu_terminal_init_inferior (void) that registers contains all the registers from the program being debugged. */ static void -gnu_prepare_to_store (void) +gnu_prepare_to_store (struct regcache *regcache) { -#ifdef CHILD_PREPARE_TO_STORE - CHILD_PREPARE_TO_STORE (); -#endif } static void |