From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23469 invoked by alias); 7 May 2002 19:03:00 -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 23448 invoked from network); 7 May 2002 19:02:54 -0000 Received: from unknown (HELO beta.dmz-eu.st.com) (164.129.1.35) by sources.redhat.com with SMTP; 7 May 2002 19:02:54 -0000 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with SMTP id 938424A36; Tue, 7 May 2002 19:02:53 +0000 (GMT) Received: by zeta.dmz-eu.st.com (STMicroelectronics, from userid 0) id 7BF8C6103; Tue, 7 May 2002 19:02:53 +0000 (GMT) Received: from thistle.bri.st.com (localhost [127.0.0.1]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 9A92A1845; Tue, 7 May 2002 19:02:52 +0000 (GMT) Received: from [164.129.8.14] (helo=masterwort) by thistle.bristol.st.com with esmtp (Exim 3.03 #5) id 175AEd-0000ap-00; Tue, 07 May 2002 20:02:51 +0100 Received: from [164.129.14.84] (helo=st.com) by masterwort with asmtp (Exim 3.22 #1) id 175AEd-0003yT-00; Tue, 07 May 2002 20:02:51 +0100 Message-ID: <3CD82502.C3A8695C@st.com> Date: Tue, 07 May 2002 12:03:00 -0000 From: Joern Rennecke Reply-To: joern.rennecke@st.com Organization: SuperH UK Ltd. X-Accept-Language: en MIME-Version: 1.0 To: ac131313@cygnus.com Cc: aoliva@redhat.com, ezannoni@redhat.com, gcc@gcc.gnu.org, gdb@sources.redhat.com, bje@redhat.com Subject: Re: SH5 compact register numbering in gcc -> gdb interface References: <3CCED903.294513BE@st.com> <15568.36275.110744.510692@localhost.redhat.com> <3CD12BF8.7E1650C1@st.com> <3CD7EB51.7816DD1@st.com> <3CD803BC.5060900@cygnus.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2002-05/txt/msg00055.txt.bz2 ac131313@cygnus.com wrote: > Humor me here. > > How do you use dwarf2 cfi to unwind a compact register (saved on the > stack) back to a media register? In addition to the address of the > saved register you'll need to know that only part of the register was > saved. Does CFI describe this? P.S.: It is not trivial to make gcc emit different register numbers for different sizes, but for prologue cfi, that can be done by attaching a REG_FRAME_RELATED_EXPR note referring to a different register number when emitting the prologue. -- -------------------------- SuperH 2430 Aztec West / Almondsbury / BRISTOL / BS32 4AQ T:+44 1454 462330