Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: "Anmol P. Paralkar" <b07584@freescale.com>
Cc: gdb@sourceware.org
Subject: Re: Regenerate config/features/rs6000
Date: Tue, 01 Apr 2008 20:36:00 -0000	[thread overview]
Message-ID: <20080401203615.GA5522@caradoc.them.org> (raw)
In-Reply-To: <Pine.LNX.4.64.0804011446540.19389@ld0159-tx32.am.freescale.net>

On Tue, Apr 01, 2008 at 03:22:05PM -0500, Anmol P. Paralkar wrote:
>> Meanwhile, I'd love to remove the circular dependency, but I haven't
>> thought of a way to do it yet.
>
>  When you say circular dependency, you mean using a GDB to generate a
>  part of itself, right? For variants of existing architecures this not
>  so non-intuitive. However, when adding a brand new arch. (e.g. say if we
>  had XML descriptions in place and were adding support for the e500),

The e500 is not a brand new architecture, as far as GDB is concerned.
It's what I was calling a variant.  It's adding XML support to a new
foo*-* target that's really awkward.

>  one has to teach it about the new architecture first, else it's not
>  going to like the: <architecture>powerpc:e500</architecture> resulting in:
>
> warning: while parsing target description (at line <?>): Target description specified unknown architecture "powerpc:e500"
> warning: Could not load XML target description; ignoring
> There is no target description to print.
>
>  For a situation like that, is there a simpler process than/alternative to
>  the one I outlined in my previous mail?

I see.  All you need to add before you can do this is the BFD bits;
you shouldn't need to add it to GDB's list, but PowerPC might be
special in this regard.

-- 
Daniel Jacobowitz
CodeSourcery


      reply	other threads:[~2008-04-01 20:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-31 23:58 Michael Eager
     [not found] ` <20080331234135.GA29623@caradoc.them.org>
     [not found]   ` <47F17A97.1000408@eagercon.com>
2008-04-01  1:09     ` Daniel Jacobowitz
2008-04-01 17:07       ` Anmol P. Paralkar
2008-04-01 17:13         ` Daniel Jacobowitz
2008-04-01 20:23           ` Anmol P. Paralkar
2008-04-01 20:36             ` Daniel Jacobowitz [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=20080401203615.GA5522@caradoc.them.org \
    --to=drow@false.org \
    --cc=b07584@freescale.com \
    --cc=gdb@sourceware.org \
    /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