From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11032 invoked by alias); 2 May 2002 00:55:22 -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 10828 invoked from network); 2 May 2002 00:55:20 -0000 Received: from unknown (HELO cygnus.com) (205.180.83.203) by sources.redhat.com with SMTP; 2 May 2002 00:55:20 -0000 Received: from localhost.redhat.com (romulus.sfbay.redhat.com [172.16.27.251]) by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with ESMTP id RAA07623; Wed, 1 May 2002 17:55:13 -0700 (PDT) Received: by localhost.redhat.com (Postfix, from userid 469) id 113C210A8C; Wed, 1 May 2002 20:54:40 -0400 (EDT) From: Elena Zannoni MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15568.36431.906090.896909@localhost.redhat.com> Date: Wed, 01 May 2002 17:55:00 -0000 To: joern.rennecke@st.com Cc: gcc@gcc.gnu.org, gdb@sources.redhat.com, aoliva@redhat.com, ezannoni@redhat.com, bje@redhat.com, ac131313@cygnus.com Subject: Re: SH5 compact register numbering in gcc -> gdb interface In-Reply-To: <3CCEEBC6.5959E2FD@st.com> References: <3CCED903.294513BE@st.com> <3CCEEBC6.5959E2FD@st.com> X-SW-Source: 2002-05/txt/msg00004.txt.bz2 Joern Rennecke writes: > > compact reg current # sh5 equiv proposed # > > -----------+-----------+------------+------------------ > > T 242 R19 19 > > GBR 238 R16 16 > > P.S.: > SH[1-4] gcc and gdb currently disagree about the meaning of > numbers 18 and 19. > gcc gdb > 17 t gbr > 18 gbr vbr > This can be worked around in gdb with STAB_REG_TO_REGNUM/DWARF2_REG_TO_REGNUM functions. Other targets do this. > This shouldn't really matter since these registers should > not appear in debug information with the ABIs currently > in use. It is confusing, however, that gcc pretends that > this is part of the interface. I therefore propose to remove > mappings for T and GDB from SH_DBX_REGISTER_NUMBER. I am not sure I understand your last sentence. You want to remove T from the mapping? It is not strictly necessary. Elena > > -- > -------------------------- > SuperH > 2430 Aztec West / Almondsbury / BRISTOL / BS32 4AQ > T:+44 1454 462330