From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31838 invoked by alias); 13 Jun 2007 14:19:10 -0000 Received: (qmail 31767 invoked by uid 22791); 13 Jun 2007 14:19:09 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 13 Jun 2007 14:19:07 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 79CC6982DE; Wed, 13 Jun 2007 14:19:02 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 5935098212; Wed, 13 Jun 2007 14:19:02 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.67) (envelope-from ) id 1HyTgr-0006qL-0i; Wed, 13 Jun 2007 10:19:17 -0400 Date: Wed, 13 Jun 2007 14:19:00 -0000 From: Daniel Jacobowitz To: Ulrich Weigand Cc: gdb-patches@sourceware.org Subject: Re: [5/10] Add "explicit size" types to builtin_type Message-ID: <20070613141916.GA26287@caradoc.them.org> Mail-Followup-To: Ulrich Weigand , gdb-patches@sourceware.org References: <20070612163217.GA6815@caradoc.them.org> <200706131410.l5DEA7WJ012687@d12av02.megacenter.de.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200706131410.l5DEA7WJ012687@d12av02.megacenter.de.ibm.com> User-Agent: Mutt/1.5.15 (2007-04-09) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2007-06/txt/msg00231.txt.bz2 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