From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6927 invoked by alias); 28 Jul 2004 14:07:50 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 6918 invoked from network); 28 Jul 2004 14:07:48 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 28 Jul 2004 14:07:48 -0000 Received: from drow by nevyn.them.org with local (Exim 4.34 #1 (Debian)) id 1Bpp4k-0007S2-E1 for ; Wed, 28 Jul 2004 10:06:34 -0400 Date: Wed, 28 Jul 2004 14:07:00 -0000 From: Daniel Jacobowitz To: gdb-patches@sources.redhat.com Subject: Re: [commit] multi-arch builtin-types #2 of N, language.h Message-ID: <20040728140633.GA28580@nevyn.them.org> Mail-Followup-To: gdb-patches@sources.redhat.com References: <41071596.90605@gnu.org> <20040728040045.GA12728@nevyn.them.org> <4107291A.4090803@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4107291A.4090803@gnu.org> User-Agent: Mutt/1.5.5.1+cvs20040105i X-SW-Source: 2004-07/txt/msg00418.txt.bz2 On Wed, Jul 28, 2004 at 12:18:34AM -0400, Andrew Cagney wrote: > >Would you mind explaining where this is going - maybe give an example > >of what it will be used for? It's not clear from the patch. > > The uses were in the patch (I should have spelt it out): > > language_primitive_type_by_name (lang, arch) > language_string_char_type (lang, arch) > > This is replacing the seriously broken: > > current_language->string_char_type > current_language->la_builtin_type_vector > > (they both point to global builtin_type_ variables). Thanks! Makes great sense. -- Daniel Jacobowitz