aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Blandy <jimb@codesourcery.com>2001-11-27 22:48:26 +0000
committerJim Blandy <jimb@codesourcery.com>2001-11-27 22:48:26 +0000
commitb1d4dcac5b936208ec02aca5b0bc53c303198554 (patch)
tree8e6e31971b3231023177ebb51f3f113d453b5b08
parent4ed90530f6e59e600782336485871a3c11b6e795 (diff)
downloadgdb-b1d4dcac5b936208ec02aca5b0bc53c303198554.zip
gdb-b1d4dcac5b936208ec02aca5b0bc53c303198554.tar.gz
gdb-b1d4dcac5b936208ec02aca5b0bc53c303198554.tar.bz2
* s390-tdep.c (s390_push_dummy_frame): Delete function; it's no
longer used.
-rw-r--r--gdb/s390-tdep.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/gdb/s390-tdep.c b/gdb/s390-tdep.c
index f3f7dcb..be50a92 100644
--- a/gdb/s390-tdep.c
+++ b/gdb/s390-tdep.c
@@ -1135,22 +1135,6 @@ s390_write_fp (CORE_ADDR val)
}
-void
-s390_push_dummy_frame ()
-{
- CORE_ADDR orig_sp = read_register (S390_SP_REGNUM), new_sp;
- void *saved_regs = alloca (REGISTER_BYTES);
-
- new_sp = (orig_sp - (REGISTER_BYTES + S390_GPR_SIZE));
- read_register_bytes (0, (char *) saved_regs, REGISTER_BYTES);
- /* Use saved copy instead of orig_sp as this will have the correct endianness */
- write_memory (new_sp, (char *) saved_regs + REGISTER_BYTE (S390_SP_REGNUM),
- S390_GPR_SIZE);
- write_memory (new_sp + S390_GPR_SIZE, (char *) &saved_regs, REGISTER_BYTES);
- write_register (S390_SP_REGNUM, new_sp);
-}
-
-
static void
s390_pop_frame_regular (struct frame_info *frame)
{