Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <ac131313@ges.redhat.com>
To: Elena Zannoni <ezannoni@redhat.com>
Cc: Kevin Buettner <kevinb@redhat.com>, gdb-patches@sources.redhat.com
Subject: Re: [RFA] rs6000-tdep.c: more e500 support
Date: Thu, 22 Aug 2002 13:35:00 -0000	[thread overview]
Message-ID: <3D654533.4090205@ges.redhat.com> (raw)
In-Reply-To: <15717.17245.600253.913162@localhost.redhat.com>


>  > Hmm... it looks like BookE is using 6 for its primary opcode (which are
>  > the most significant 6 bits).  I wonder if this could cause conflicts
>  > with other cores which also extend the base PPC instruction set.
>  > 
>  > A quick Google search reveals:
>  > 
>  >     http://sources.redhat.com/ml/binutils/2001-10/msg00186.html
>  > 
>  > So apparently there can be conflicts.  It's not clear to me if there
>  > are conflicts for the instructions that we care about, but I wonder
>  > if it might not be better to add a conjunct which restricts these tests
>  > to the BookE architecture.  (Maybe it'd be a good idea to squirrel
>  > away the v->arch and v->mach values from rs6000_gdbarch_init() into
>  > the gdbarch_tdep struct.  I guess you could also check to see if
>  > tdep->ppc_ev0_regnum is not -1.)
>  > 
> 
> Yes, conflicts also with Altivec instructions. I would prefer to save
> the architecture & machine pair, rather than check the registers.

Try:

const struct bfd_arch_info *gdbarch_bfd_arch_info (gdbarch)

Andrew



  reply	other threads:[~2002-08-22 20:10 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-22 11:02 Elena Zannoni
2002-08-22 12:11 ` Kevin Buettner
2002-08-22 13:10   ` Elena Zannoni
2002-08-22 13:35     ` Andrew Cagney [this message]
2002-08-22 13:41     ` Kevin Buettner
2002-08-22 15:01       ` Elena Zannoni
2002-08-22 15:07         ` Kevin Buettner
2002-08-22 15:31           ` Elena Zannoni

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=3D654533.4090205@ges.redhat.com \
    --to=ac131313@ges.redhat.com \
    --cc=ezannoni@redhat.com \
    --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