Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Jim Blandy <jimb@redhat.com>
To: Andrew Cagney <cagney@gnu.org>, Kevin Buettner <kevinb@redhat.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: RFA: PowerPC sim & GDB: use fixed register numbering
Date: Wed, 04 Aug 2004 17:13:00 -0000	[thread overview]
Message-ID: <vt2vffyde1a.fsf@zenia.home> (raw)
In-Reply-To: <4110EA27.7020904@gnu.org>


Andrew Cagney <cagney@gnu.org> writes:
> > Andrew Cagney <cagney@gnu.org> writes:
> >
> >>> Have a look at the other sim-*.h files, you'll notice that most define
> >>> an enum namespace and not a series of magic constants.   Can we expand
> >>> the table so that the constants aren't needed?
> > Is this going in the right direction?
> 
> Yes, that should go in.

Okay, committed.  Thanks to you and Kevin for the review.

> What's your plan with SPRs?

I think it's best to use the SPR numbers assigned by the ISA to
identify them.  Trying to keep tables based on automatically assigned
enum values in sync would take a lot of work, for little gain, since
ISA SPR numbers are (obviously) unambiguous within any particular PPC
variant.

At the moment, the sim doesn't support any SPRs from different PPC
variants whose numbers clash.  There'll be work needed there to handle
that; I don't have any particular insights there.


  reply	other threads:[~2004-08-04 17:13 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-20 20:40 Jim Blandy
2004-07-23 23:12 ` Kevin Buettner
2004-08-03 14:23 ` Andrew Cagney
2004-08-04  5:47   ` Jim Blandy
2004-08-04 13:53     ` Andrew Cagney
2004-08-04 17:13       ` Jim Blandy [this message]
2004-08-04 17:33         ` Andrew Cagney
2004-08-04 17:56           ` Jim Blandy
2004-08-04 18:07             ` Andrew Cagney
2004-08-04 21:26               ` Jim Blandy
2004-08-05  0:18                 ` Andrew Cagney
2004-08-05 15:22                   ` Jim Blandy
2004-08-05 16:10                     ` 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=vt2vffyde1a.fsf@zenia.home \
    --to=jimb@redhat.com \
    --cc=cagney@gnu.org \
    --cc=gdb-patches@sources.redhat.com \
    --cc=kevinb@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