From: Kevin Buettner <kevinb@redhat.com>
To: Michael Snyder <msnyder@redhat.com>, Andrew Cagney <ac131313@cygnus.com>
Cc: Kevin Buettner <kevinb@redhat.com>, gdb-patches@sources.redhat.com
Subject: Re: [patch/rfc] Delete write_fp() and friends
Date: Thu, 28 Mar 2002 12:41:00 -0000 [thread overview]
Message-ID: <1020328204122.ZM27826@localhost.localdomain> (raw)
In-Reply-To: Michael Snyder <msnyder@redhat.com> "Re: [patch/rfc] Delete write_fp() and friends" (Mar 28, 12:10pm)
On Mar 28, 12:10pm, Michael Snyder wrote:
> > >> So what should calls to write_fp be replaced with?
> > >
> > > It looks to me like there was only one call to write_fp() and that
> > > occurred in sparc-tdep.c. Andrew replaced that call with a call to
> > > write_register().
> >
> > I need to examine that a bit more carefully though.
>
> If no one but Sparc is using it, I'm not very worried
> (as long as you take care of sparc).
Well, for the sparc, it appears that it's only the sim which
cares about it. From sparc_push_dummy_frame():
if (strcmp (target_shortname, "sim") != 0)
{
write_fp (old_sp);
/* Set return address register for the call dummy to the current PC. */
write_register (I7_REGNUM, read_pc () - 8);
}
else
...
I wonder why the sim was being special cased in the first place?
Kevin
prev parent reply other threads:[~2002-03-28 20:41 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-27 19:32 Andrew Cagney
2002-03-28 10:39 ` Michael Snyder
2002-03-28 10:55 ` Kevin Buettner
2002-03-28 12:03 ` Andrew Cagney
2002-03-28 12:21 ` Michael Snyder
2002-03-28 12:41 ` Kevin Buettner [this message]
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=1020328204122.ZM27826@localhost.localdomain \
--to=kevinb@redhat.com \
--cc=ac131313@cygnus.com \
--cc=gdb-patches@sources.redhat.com \
--cc=msnyder@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