Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Elena Zannoni <ezannoni@cygnus.com>
To: Kevin Buettner <kevinb@redhat.com>
Cc: Elena Zannoni <ezannoni@cygnus.com>,
	gdb-patches@sources.redhat.com, vmakarov@redhat.com
Subject: Re: [RFA] config/rs6000/tm-rs6000.h STAB_REG_TO_REGNUM
Date: Wed, 05 Dec 2001 14:57:00 -0000	[thread overview]
Message-ID: <15374.42973.308741.364141@krustylu.cygnus.com> (raw)
In-Reply-To: <1011205225148.ZM6006@ocotillo.lan>

Kevin Buettner writes:
 > On Dec 5,  5:31pm, Elena Zannoni wrote:
 > 
 > >  > > +    case 64: /* mq */
 > >  > > +      if (TARGET_ARCHITECTURE->mach == bfd_mach_ppc_601)
 > >  > > +	regnum = 124;
 > >  > 
 > >  > Hmm... I wish we had a symbolic constant for this one.  (It took me
 > >  > a while to figure out why this register number was different.)
 > > 
 > > Hmmm, should these regnums be part of the gdbarch_tdep structure?
 > > That's how I did it for the SH. (Defined to -1 if not applicable) It
 > > seems to me that not all the variants have register (say, for
 > > instance) 67 defined to be the LR register or even exist. This way we
 > > could also do error checking in this routine.
 > 
 > I had occassion to look at SH recently and saw how you did things.  I
 > think the mechanism you propose would be appropriate for PPC too.
 > 
 > Kevin

Okey. I'll do that then.

Thanks!
Elena


  reply	other threads:[~2001-12-05 22:57 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-30  9:35 Elena Zannoni
2001-11-22  1:18 ` Elena Zannoni
2001-11-22  4:32 ` Andrew Cagney
2001-11-30 10:16   ` Andrew Cagney
2001-11-30 13:08   ` Elena Zannoni
2001-11-24  6:47     ` Elena Zannoni
2001-11-30 13:36     ` Daniel Jacobowitz
2001-11-24 11:03       ` Daniel Jacobowitz
2001-12-05 13:58     ` Kevin Buettner
2001-12-05 14:25       ` Elena Zannoni
2001-12-05 14:30         ` Daniel Jacobowitz
2001-12-05 14:34           ` Elena Zannoni
2001-12-05 14:53         ` Kevin Buettner
2001-12-05 14:57           ` Elena Zannoni [this message]
2001-11-30  9:53 ` Daniel Jacobowitz
2001-11-22  3:39   ` Daniel Jacobowitz

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=15374.42973.308741.364141@krustylu.cygnus.com \
    --to=ezannoni@cygnus.com \
    --cc=gdb-patches@sources.redhat.com \
    --cc=kevinb@redhat.com \
    --cc=vmakarov@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