From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20228 invoked by alias); 14 Nov 2007 08:39:51 -0000 Received: (qmail 20216 invoked by uid 22791); 14 Nov 2007 08:39:50 -0000 X-Spam-Check-By: sourceware.org Received: from mtagate4.de.ibm.com (HELO mtagate4.de.ibm.com) (195.212.29.153) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 14 Nov 2007 08:39:47 +0000 Received: from d12nrmr1607.megacenter.de.ibm.com (d12nrmr1607.megacenter.de.ibm.com [9.149.167.49]) by mtagate4.de.ibm.com (8.13.8/8.13.8) with ESMTP id lAE8diZE062986 for ; Wed, 14 Nov 2007 08:39:44 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.6) with ESMTP id lAE8diF82121910 for ; Wed, 14 Nov 2007 09:39:44 +0100 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 lAE8dhl1005302 for ; Wed, 14 Nov 2007 09:39:43 +0100 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 lAE8dgnP005245 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 14 Nov 2007 09:39:43 +0100 Message-ID: <473AB3E4.3090209@de.ibm.com> Date: Wed, 14 Nov 2007 08:39:00 -0000 From: Markus Deuling User-Agent: Thunderbird 2.0.0.6 (X11/20070728) MIME-Version: 1.0 To: Ulrich Weigand CC: GDB Patches Subject: Re: [rfc] [03/05] Get rid of current_gdbarch in register_sim_regno References: <200711082137.lA8LbTlX020692@d12av02.megacenter.de.ibm.com> In-Reply-To: <200711082137.lA8LbTlX020692@d12av02.megacenter.de.ibm.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-11/txt/msg00264.txt.bz2 Ulrich Weigand schrieb: > Markus Deuling wrote: > Those changes are OK, but you should at the same time > add the gdbarch parameter to the one2one_register_sim_regno > routine, since this is intended as a routine that can be > used as argument to gdbarch_set_register_sim_regno. > > In fact, it would be good if you could also change the > *callers* of gdbarch_register_sim_regno to make sure > they really all have a gdbarch available. > Hi Uli, sorry for the delay. Please see my patch: http://sourceware.org/ml/gdb-patches/2007-11/msg00263.html The update of that callers is part of that trivial replacement patch. I hope this is ok? -- Markus Deuling GNU Toolchain for Linux on Cell BE deuling@de.ibm.com