From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20250 invoked by alias); 22 Oct 2007 06:01:31 -0000 Received: (qmail 20236 invoked by uid 22791); 22 Oct 2007 06:01:30 -0000 X-Spam-Check-By: sourceware.org Received: from mtagate5.de.ibm.com (HELO mtagate5.de.ibm.com) (195.212.29.154) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 22 Oct 2007 06:01:26 +0000 Received: from d12nrmr1607.megacenter.de.ibm.com (d12nrmr1607.megacenter.de.ibm.com [9.149.167.49]) by mtagate5.de.ibm.com (8.13.8/8.13.8) with ESMTP id l9M61NFj628972 for ; Mon, 22 Oct 2007 06:01:23 GMT Received: from d12av02.megacenter.de.ibm.com (d12av02.megacenter.de.ibm.com [9.149.165.228]) by d12nrmr1607.megacenter.de.ibm.com (8.13.8/8.13.8/NCO v8.5) with ESMTP id l9M61MW21884280 for ; Mon, 22 Oct 2007 08:01:22 +0200 Received: from d12av02.megacenter.de.ibm.com (loopback [127.0.0.1]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id l9M61MQH003207 for ; Mon, 22 Oct 2007 08:01:22 +0200 Received: from bbkeks.boeblingen.de.ibm.com (dyn-9-152-248-41.boeblingen.de.ibm.com [9.152.248.41]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id l9M61K8k003169 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 22 Oct 2007 08:01:21 +0200 Message-ID: <471C3C4F.203@de.ibm.com> Date: Mon, 22 Oct 2007 06:04:00 -0000 From: Markus Deuling User-Agent: Thunderbird 2.0.0.6 (X11/20070728) MIME-Version: 1.0 To: Joel Brobecker CC: GDB Patches , hilfinger@gnat.com, Ulrich Weigand Subject: Re: [rfc] [06/17] Get rid of current_gdbarch in ada-lang.c References: <470DE4A1.4090506@de.ibm.com> <20071011165322.GX3570@adacore.com> In-Reply-To: <20071011165322.GX3570@adacore.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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/msg00488.txt.bz2 Hi Joel, thanks for your effort. I'll wait for the results of the per-objfile discussion and then come up with a complete patch. Joel Brobecker schrieb: > 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. > -- Markus Deuling GNU Toolchain for Linux on Cell BE deuling@de.ibm.com