This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
PATCH: S/390: delete unused function
- From: Jim Blandy <jimb at zwingli dot cygnus dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Tue, 27 Nov 2001 22:38:03 -0500 (EST)
- Subject: PATCH: S/390: delete unused function
2001-11-27 Jim Blandy <jimb@redhat.com>
* s390-tdep.c (s390_push_dummy_frame): Delete function; it's no
longer used.
Index: gdb/s390-tdep.c
===================================================================
RCS file: /cvs/cvsfiles/devo/gdb/s390-tdep.c,v
retrieving revision 2.18
diff -c -r2.18 s390-tdep.c
*** gdb/s390-tdep.c 2001/11/27 22:21:53 2.18
--- gdb/s390-tdep.c 2001/11/27 22:46:29
***************
*** 1135,1156 ****
}
- 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)
{
--- 1135,1140 ----