From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17718 invoked by alias); 29 Nov 2001 22:01:41 -0000 Mailing-List: contact gdb-patches-help@sourceware.cygnus.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 17067 invoked from network); 29 Nov 2001 22:00:15 -0000 Received: from unknown (HELO cygnus.com) (205.180.230.5) by hostedprojects.ges.redhat.com with SMTP; 29 Nov 2001 22:00:15 -0000 Received: from cse.cygnus.com (cse.cygnus.com [205.180.230.236]) by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with ESMTP id OAA10621; Thu, 29 Nov 2001 14:00:12 -0800 (PST) Received: (from kev@localhost) by cse.cygnus.com (8.9.3/8.9.3) id OAA19473; Thu, 29 Nov 2001 14:59:35 -0700 Date: Mon, 19 Nov 2001 19:26:00 -0000 From: Kevin Buettner Message-ID: <1011129215935.ZM19472@ocotillo.lan> In-Reply-To: Andrew Cagney "Re: [RFA] ppc-linux-nat.c: Don't use regmap[] anymore." (Nov 29, 4:45pm) References: <15362.34742.58613.695856@krustylu.cygnus.com> <1011129205738.ZM19235@ocotillo.lan> <3C06AC88.50403@cygnus.com> X-Mailer: Z-Mail (4.0.1 13Jan97 Caldera) To: Andrew Cagney , Kevin Buettner Subject: Re: [RFA] ppc-linux-nat.c: Don't use regmap[] anymore. Cc: Elena Zannoni , gdb-patches@sources.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2001-11/txt/msg00355.txt.bz2 Message-ID: <20011119192600.xSsxk-mizDZksxg1Chm8rjPMrwKanzHzhiGus1OBfyU@z> On Nov 29, 4:45pm, Andrew Cagney wrote: > I suspect a few more targets could do with the same treatment. > Eliminating that hardwired regmap[] would probably help a few more targets. Perhaps. But, I think each target better have good reasons for doing so before undertaking such a transformation. Replacing the hardwired regmap[] with a function with the same constants hardwired into it doesn't accomplish much (aside from slowing things somewhat). Kevin