From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 466 invoked by alias); 23 Dec 2010 05:27:28 -0000 Received: (qmail 454 invoked by uid 22791); 23 Dec 2010 05:27:27 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 23 Dec 2010 05:27:19 +0000 Received: (qmail 11840 invoked from network); 23 Dec 2010 05:27:17 -0000 Received: from unknown (HELO ?192.168.0.101?) (yao@127.0.0.2) by mail.codesourcery.com with ESMTPA; 23 Dec 2010 05:27:17 -0000 Message-ID: <4D12DDAE.5090708@codesourcery.com> Date: Thu, 23 Dec 2010 07:19:00 -0000 From: Yao Qi User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7 MIME-Version: 1.0 To: Mark Kettenis CC: gdb-patches@sourceware.org Subject: Re: [patch 2/2] Implement gdbarch hook user_register_name on ARM References: <201012211907.oBLJ7kiR011849@d06av02.portsmouth.uk.ibm.com> <4D12288E.6030109@codesourcery.com> <201012221743.oBMHhFtw031536@glazunov.sibelius.xs4all.nl> In-Reply-To: <201012221743.oBMHhFtw031536@glazunov.sibelius.xs4all.nl> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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: 2010-12/txt/msg00428.txt.bz2 On 12/23/2010 01:43 AM, Mark Kettenis wrote: > Actually grep tells me that arm is the only target that still uses > this. A sure sign that we can get rid of it! > grep tells me something different, frv-tdep.c: set_gdbarch_deprecated_fp_regnum (gdbarch, fp_regnum); rs6000-tdep.c: set_gdbarch_deprecated_fp_regnum (gdbarch, PPC_R0_REGNUM + 1); > A followup diff to remove all the deprected fp stuff would be nice ;) > But don't let you stop that from committing this. I'd like to, if we can prove set_gdbarch_deprecated_fp_regnum is not useful to frv and rs6000. -- Yao (齐尧)