From: Andrew Cagney Date: Sat, 8 May 2004 22:26:10 +0000 (+0000) Subject: 2004-05-08 Andrew Cagney X-Git-Tag: gprof-pre-ansify-2004-05-26~199 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e6b55ae2e0d28cf4e89cc24dc710cc2af9a394f7;p=external%2Fbinutils.git 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. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 5984baf..66b8e4f 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 61a0f73..cedcd36 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,6 +1,9 @@ 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. * gdbint.texinfo (Target Architecture Definition): Delete diff --git a/gdb/doc/gdbint.texinfo b/gdb/doc/gdbint.texinfo index bf26771..1525dd5 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 4e12744..88c429a 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 94a8f8a..b519866 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); }