2003-03-27 Andrew Cagney <cagney@redhat.com>

* regcache.c (write_sp): Delete function and references.
	* inferior.h (write_sp): Delete declaration.
	* valops.c (hand_function_call): Replace write_sp with
	TARGET_WRITE_SP.
	* sparc-tdep.c (sparc_push_dummy_frame): Ditto.
	(sparc_pop_frame): Ditto.

Index: doc/ChangeLog
2003-03-27  Andrew Cagney  <cagney@redhat.com>

	* gdbint.texinfo (Target Architecture Definition): Remove
	references to write_sp.
This commit is contained in:
Andrew Cagney
2003-03-27 15:29:45 +00:00
parent 56056df735
commit 378bfd1b7a
7 changed files with 26 additions and 21 deletions

View File

@@ -1697,7 +1697,7 @@ You must use a pointer to function type variable. Command ignored.", arg_name);
frame), and none of the code following that code adjusts the
stack-pointer value, the below call is entirely redundant. */
if (!gdbarch_push_dummy_call_p (current_gdbarch))
write_sp (sp);
TARGET_WRITE_SP (sp);
if (SAVE_DUMMY_FRAME_TOS_P ())
SAVE_DUMMY_FRAME_TOS (sp);