From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12371 invoked by alias); 12 Jun 2002 21:34:56 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 12353 invoked from network); 12 Jun 2002 21:34:54 -0000 Received: from unknown (HELO localhost.redhat.com) (216.138.202.10) by sources.redhat.com with SMTP; 12 Jun 2002 21:34:54 -0000 Received: from cygnus.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id BA5D73CA3; Wed, 12 Jun 2002 17:34:55 -0400 (EDT) Message-ID: <3D07BE7F.3040906@cygnus.com> Date: Wed, 12 Jun 2002 14:34:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0rc3) Gecko/20020530 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Joern Rennecke Cc: Elena Zannoni , binutils@sources.redhat.com, gdb-patches@sources.redhat.com, bje@redhat.com Subject: Re: Unreviewed patch: add include/gdb/sim-sh.h (Was: Re: SH simulator register numbers: include/gdb/sim-sh.h) References: <3CCED903.294513BE@st.com> <15568.36275.110744.510692@localhost.redhat.com> <3CD12BF8.7E1650C1@st.com> <3CD7EB51.7816DD1@st.com> <3CD803BC.5060900@cygnus.com> <3CD823D1.FC1E3717@st.com> <3CD85192.7020100@cygnus.com> <3CDAEDA4.3DE4A2D5@st.com> <15578.63785.429521.553723@localhost.redhat.com> <3CDB0B49.3040700@cygnus.com> <3CDBD33A.60D5768@st.com> <3D0630EE.B5DC621A@superh.com> <15622.28382.644505.747327@localhost.redhat.com> <3D073F62.8CFB71AC@superh.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-06/txt/msg00196.txt.bz2 > Elena Zannoni wrote: > >> >> Sorry. >> Can you format the file with one register per line? >> Take a look at sim-d10v.h, now that Andrew cleaned it up. > Just FYI, there are now two examples - sim-d10v.h and sim-arm.h. In both cases the GDB<->sim interface is defined by a simple pure enum - there are no assignments or gaps. If a mapping is needed then REGISTER_SIM_REGNO handles it. enjoy, Andrew