From e6b55ae2e0d28cf4e89cc24dc710cc2af9a394f7 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Sat, 8 May 2004 22:26:10 +0000 Subject: [PATCH] 2004-05-08 Andrew Cagney * infrun.c (resume): Delete call to DO_DEFERRED_STORES. * target.c (target_detach, target_disconnect): Ditto. 2004-05-08 Andrew Cagney * gdbint.texinfo (Target Architecture Definition): Delete description of DO_DEFERRED_STORES. --- gdb/ChangeLog | 3 +++ gdb/doc/ChangeLog | 3 +++ gdb/doc/gdbint.texinfo | 9 --------- gdb/infrun.c | 5 ----- gdb/target.c | 8 -------- 5 files changed, 6 insertions(+), 22 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 5984baf707b..66b8e4f1658 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,8 @@ 2004-05-08 Andrew Cagney + * infrun.c (resume): Delete call to DO_DEFERRED_STORES. + * target.c (target_detach, target_disconnect): Ditto. + * infcall.c (call_function_by_hand): When no DEPRECATED_SAVE_DUMMY_FRAME_TOS call generic_save_dummy_frame_tos. * rs6000-tdep.c (rs6000_gdbarch_init): Do not set diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 61a0f73ad20..cedcd360fbf 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,5 +1,8 @@ 2004-05-08 Andrew Cagney + * gdbint.texinfo (Target Architecture Definition): Delete + description of DO_DEFERRED_STORES. + * gdbint.texinfo (Target Architecture Definition): Delete references to DEPRECATED_FIX_CALL_DUMMY. diff --git a/gdb/doc/gdbint.texinfo b/gdb/doc/gdbint.texinfo index bf267711271..1525dd55b3f 100644 --- a/gdb/doc/gdbint.texinfo +++ b/gdb/doc/gdbint.texinfo @@ -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, @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}) @findex CONVERT_REGISTER_P Return non-zero if register @var{regnum} can represent data values in a diff --git a/gdb/infrun.c b/gdb/infrun.c index 4e127444b94..88c429ae6a5 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -572,11 +572,6 @@ resume (int step, enum target_signal sig) 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 now to be followed, then do so. */ switch (pending_follow.kind) diff --git a/gdb/target.c b/gdb/target.c index 94a8f8a24a1..b5198666d06 100644 --- a/gdb/target.c +++ b/gdb/target.c @@ -1268,20 +1268,12 @@ target_preopen (int from_tty) void 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); } void 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); } -- 2.30.2