Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* PATCH: S/390: delete unused function
@ 2001-11-27 19:36 Jim Blandy
  2001-11-15 10:24 ` Jim Blandy
  2001-11-27 19:43 ` Andrew Cagney
  0 siblings, 2 replies; 4+ messages in thread
From: Jim Blandy @ 2001-11-27 19:36 UTC (permalink / raw)
  To: gdb-patches

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 ----


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-11-28  3:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-27 19:36 PATCH: S/390: delete unused function Jim Blandy
2001-11-15 10:24 ` Jim Blandy
2001-11-27 19:43 ` Andrew Cagney
2001-11-15 12:51   ` Andrew Cagney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox