This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: SH5 compact register numbering in gcc -> gdb interface - include/elf/sh.h ?
- From: Joern Rennecke <joern dot rennecke at st dot com>
- To: ac131313 at cygnus dot com
- Cc: ezannoni at redhat dot com, binutils at sources dot redhat dot com,aoliva at redhat dot com, gcc at gcc dot gnu dot org, gdb at sources dot redhat dot com,bje at redhat dot com
- Date: Fri, 10 May 2002 15:46:03 +0100
- Subject: Re: SH5 compact register numbering in gcc -> gdb interface - include/elf/sh.h ?
- Organization: SuperH UK Ltd.
- References: <3CCED903.294513BE@st.com> <15568.36275.110744.510692@localhost.redhat.com> <3CD12BF8.7E1650C1@st.com> <or4rhotrng.fsf@livre.redhat.lsd.ic.unicamp.br> <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> <3CDB9C75.27044AE@st.com> <3CDBDA38.3080108@cygnus.com>
ac131313@cygnus.com wrote:
> The correct way to represent a 64 bit value in MACH and MACL is to emit
> a location expression indicating that the value is split across the
> MACL/MACH registers. GDB currently only handles the simple case of this
> (but hey that is just a bug). If GCC can't emit this info correctly in
> all cases then I guess GCC also has a bug and that bug also needs to be
> fixed.
Ok, so we don't need the MACH_LITTLE assignments, nabd make MACH_BIG into MACH
again. That't leave a gap at 22 for the time being, whereas
SH64_DEBUG_INFO_PR_C and SH_DEBUG_INFO_FPSCR_C will follow immediately after
SH64_DEBUG_INFO_MACL_C .
--
--------------------------
SuperH
2430 Aztec West / Almondsbury / BRISTOL / BS32 4AQ
T:+44 1454 462330