2004-05-08 Andrew Cagney <cagney@redhat.com>

* infrun.c (resume): Delete call to DO_DEFERRED_STORES.
	* target.c (target_detach, target_disconnect): Ditto.

2004-05-08  Andrew Cagney  <cagney@redhat.com>

	* gdbint.texinfo (Target Architecture Definition): Delete
	description of DO_DEFERRED_STORES.
This commit is contained in:
Andrew Cagney 2004-05-08 22:26:10 +00:00
parent 1ac839b8cc
commit e6b55ae2e0
5 changed files with 6 additions and 22 deletions

View file

@ -1,5 +1,8 @@
2004-05-08 Andrew Cagney <cagney@redhat.com> 2004-05-08 Andrew Cagney <cagney@redhat.com>
* infrun.c (resume): Delete call to DO_DEFERRED_STORES.
* target.c (target_detach, target_disconnect): Ditto.
* infcall.c (call_function_by_hand): When no * infcall.c (call_function_by_hand): When no
DEPRECATED_SAVE_DUMMY_FRAME_TOS call generic_save_dummy_frame_tos. DEPRECATED_SAVE_DUMMY_FRAME_TOS call generic_save_dummy_frame_tos.
* rs6000-tdep.c (rs6000_gdbarch_init): Do not set * rs6000-tdep.c (rs6000_gdbarch_init): Do not set

View file

@ -1,5 +1,8 @@
2004-05-08 Andrew Cagney <cagney@redhat.com> 2004-05-08 Andrew Cagney <cagney@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Delete
description of DO_DEFERRED_STORES.
* gdbint.texinfo (Target Architecture Definition): Delete * gdbint.texinfo (Target Architecture Definition): Delete
references to DEPRECATED_FIX_CALL_DUMMY. references to DEPRECATED_FIX_CALL_DUMMY.

View file

@ -3051,15 +3051,6 @@ written to the target. This is often the case for program counters,
status words, and other special registers. If this is not defined, status words, and other special registers. If this is not defined,
@value{GDBN} will assume that all registers may be written. @value{GDBN} will assume that all registers may be written.
@item DO_DEFERRED_STORES
@itemx CLEAR_DEFERRED_STORES
@findex CLEAR_DEFERRED_STORES
@findex DO_DEFERRED_STORES
Define this to execute any deferred stores of registers into the inferior,
and to cancel any deferred stores.
Currently only implemented correctly for native Sparc configurations?
@item int CONVERT_REGISTER_P(@var{regnum}) @item int CONVERT_REGISTER_P(@var{regnum})
@findex CONVERT_REGISTER_P @findex CONVERT_REGISTER_P
Return non-zero if register @var{regnum} can represent data values in a Return non-zero if register @var{regnum} can represent data values in a

View file

@ -572,11 +572,6 @@ resume (int step, enum target_signal sig)
singlestep_ptid = inferior_ptid; singlestep_ptid = inferior_ptid;
} }
/* Handle any optimized stores to the inferior NOW... */
#ifdef DO_DEFERRED_STORES
DO_DEFERRED_STORES;
#endif
/* If there were any forks/vforks/execs that were caught and are /* If there were any forks/vforks/execs that were caught and are
now to be followed, then do so. */ now to be followed, then do so. */
switch (pending_follow.kind) switch (pending_follow.kind)

View file

@ -1268,20 +1268,12 @@ target_preopen (int from_tty)
void void
target_detach (char *args, int from_tty) target_detach (char *args, int from_tty)
{ {
/* Handle any optimized stores to the inferior. */
#ifdef DO_DEFERRED_STORES
DO_DEFERRED_STORES;
#endif
(current_target.to_detach) (args, from_tty); (current_target.to_detach) (args, from_tty);
} }
void void
target_disconnect (char *args, int from_tty) target_disconnect (char *args, int from_tty)
{ {
/* Handle any optimized stores to the inferior. */
#ifdef DO_DEFERRED_STORES
DO_DEFERRED_STORES;
#endif
(current_target.to_disconnect) (args, from_tty); (current_target.to_disconnect) (args, from_tty);
} }