From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31289 invoked by alias); 12 May 2002 15:51:13 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 31282 invoked from network); 12 May 2002 15:51:12 -0000 Received: from unknown (HELO localhost.redhat.com) (24.112.240.27) by sources.redhat.com with SMTP; 12 May 2002 15:51:12 -0000 Received: from cygnus.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 1BC953E08; Sun, 12 May 2002 11:51:19 -0400 (EDT) Message-ID: <3CDE8F76.9060302@cygnus.com> Date: Sun, 12 May 2002 08:51:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0rc1) Gecko/20020429 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Richard.Earnshaw@arm.com Cc: gdb@sources.redhat.com Subject: Re: ARM and virtual/raw registers References: <200205121529.QAA02940@cam-mail2.cambridge.arm.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-05/txt/msg00128.txt.bz2 > ac131313@cygnus.com said: > >> And fixing remote.c is on the hit list (I should fix Daniel's bug) :-) >> It already has an internal table that does a mapping only it is 1:1. >> remote.c is complicated, however. The mapping will need to be defined >> at run (and not compile) time - this makes trying to perform >> transformations (and not simple mappings) on the way through more >> difficult. > > > Surely it only has to select one of several pre-compiled mappings that is > appropriate for the target processor configuration. I wish! :-) I don't think anyone knows how many mappings there are. Every single mips target, for instance, likely has a different mapping. Instead of trying to second guess all of them, remote.c is being changed so that the user can specify them at runtime. That way, when (not if :-) the default mapping screws up, the user can fix it. enjoy, Andrew