Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: Ulrich Weigand <uweigand@de.ibm.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [5/10] Add "explicit size" types to builtin_type
Date: Wed, 13 Jun 2007 14:19:00 -0000	[thread overview]
Message-ID: <20070613141916.GA26287@caradoc.them.org> (raw)
In-Reply-To: <200706131410.l5DEA7WJ012687@d12av02.megacenter.de.ibm.com>

On Wed, Jun 13, 2007 at 04:10:07PM +0200, Ulrich Weigand wrote:
> What I had been thinking of is to explicitly assign a gdbarch to
> each objfile (probably as an objfile->arch member).  Now this arch
> is -as you mention- not necessarily the same as the "current"
> architecture (what will become the per-thread / per-frame
> architecture), but it will simply be the gdbarch selected by the
> sniffers on the basis of the objfile (bfd) alone.  This arch would
> then be used to provide per-platform configuration information to
> the symbol parts of GDB.

I like this idea.  The other thing I was thinking of was a gdbarch
check that two gdbarches have the same methods and constants for the
parts that symbol readers are allowed to use, but that isn't feasible.

-- 
Daniel Jacobowitz
CodeSourcery


      reply	other threads:[~2007-06-13 14:19 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-08 23:16 Ulrich Weigand
2007-06-12 15:22 ` Daniel Jacobowitz
2007-06-12 16:24   ` Ulrich Weigand
2007-06-12 16:32     ` Daniel Jacobowitz
2007-06-13 14:10       ` Ulrich Weigand
2007-06-13 14:19         ` 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=20070613141916.GA26287@caradoc.them.org \
    --to=drow@false.org \
    --cc=gdb-patches@sourceware.org \
    --cc=uweigand@de.ibm.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