Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Jim Blandy <jimb@zwingli.cygnus.com>
To: gdb-patches@sources.redhat.com
Subject: PATCH: S/390: delete unused function
Date: Thu, 15 Nov 2001 10:24:00 -0000	[thread overview]
Message-ID: <20011128033803.2F8D75E9D8@zwingli.cygnus.com> (raw)
Message-ID: <20011115102400.gD-xJ9Lt294yyclApM3iPkjl-uzaHeJt2cHtPfwMP68@z> (raw)


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


             reply	other threads:[~2001-11-28  3:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-27 19:36 Jim Blandy [this message]
2001-11-15 10:24 ` Jim Blandy
2001-11-27 19:43 ` Andrew Cagney
2001-11-15 12:51   ` Andrew Cagney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20011128033803.2F8D75E9D8@zwingli.cygnus.com \
    --to=jimb@zwingli.cygnus.com \
    --cc=gdb-patches@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox