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

@@ -1040,7 +1040,7 @@ sparc_push_dummy_frame (void)
sp -= DUMMY_STACK_SIZE;
write_sp (sp);
TARGET_WRITE_SP (sp);
write_memory (sp + DUMMY_REG_SAVE_OFFSET, &register_temp[0],
DUMMY_STACK_REG_BUF_SIZE);
@@ -1310,7 +1310,7 @@ sparc_pop_frame (void)
read_memory_integer (fsr[O0_REGNUM + 7],
SPARC_INTREG_SIZE));
write_sp (get_frame_base (frame));
TARGET_WRITE_SP (get_frame_base (frame));
}
else if (fsr[I0_REGNUM])
{