From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4564 invoked by alias); 11 Oct 2007 16:53:33 -0000 Received: (qmail 4548 invoked by uid 22791); 11 Oct 2007 16:53:31 -0000 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 11 Oct 2007 16:53:26 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id C2B8B2AD326; Thu, 11 Oct 2007 12:53:24 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id KWAI5eOBv4er; Thu, 11 Oct 2007 12:53:24 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 7AB962AA47A; Thu, 11 Oct 2007 12:53:24 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 5CDA3E7B58; Thu, 11 Oct 2007 09:53:22 -0700 (PDT) Date: Thu, 11 Oct 2007 17:33:00 -0000 From: Joel Brobecker To: Markus Deuling Cc: GDB Patches , hilfinger@gnat.com, Ulrich Weigand Subject: Re: [rfc] [06/17] Get rid of current_gdbarch in ada-lang.c Message-ID: <20071011165322.GX3570@adacore.com> References: <470DE4A1.4090506@de.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <470DE4A1.4090506@de.ibm.com> User-Agent: Mutt/1.4.2.2i 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-10/txt/msg00300.txt.bz2 Hi Markus, > * ada-lang.c (ada_create_fundamental_type): Use objfile->gdbarch to > get > at the current architecture. These changes are pretty mechanical, and look OK to me, but I see that the decision to use per-objfile gdbarch is still being discussed. So we'll probably want to hold these changes for a little longer. > (ada_language_arch_info): Replace current_gdbarch by gdbarch. This part can be checked in now, however. -- Joel