[PING] Fix mips-tfile causing gdb to crash on Tru64

Meissner, Michael michael.meissner@amd.com
Mon Feb 5 17:02:00 GMT 2007


> -----Original Message-----
> From: Roger Sayle [mailto:roger@eyesopen.com]
> Sent: Monday, February 05, 2007 11:57 AM
> To: Meissner, Michael
> Cc: gcc-patches@gcc.gnu.org; rth@redhat.com; Harle, Christophe
> Subject: RE: [PING] Fix mips-tfile causing gdb to crash on Tru64
> 
> 
> Hi Mike,
> 
> On Mon, February 5, 2007 9:30 am, Meissner, Michael wrote:
> > In general I would worry about the cross compiler
> > issue, but in this case, that is unlikely to be an issue (maybe we
> > should put an explicit cross compiler check in).
> 
> Alas mips-tfile.c has never been able to be built in a cross-compiler
> configuration, c.f. PR target/3746, http://gcc.gnu.org/PR3746.  If
there's
> still interest I can look into supporting cross-compilation, by
> duplicating the appropriate structs from the OSF/1 system header files
at
> the top of mips-tfile.c.
> 
> > It is amazing that a hack that I wrote in 1990 to solve a short term
> > problem (using the MIPS assembler to smuggle debug information until
> > we could switch over to using GAS) has survived a change in
> architecture.
> 
> Survive is perhaps a bit optimistic :-).  Its only remaining use is on
> alpha Tru64, where it's been broken [to the extent it causes GDB to
crash
> reading executables] since May 2005.
> 
> Roger
> --

Its not really worth the effort, given how the two environments it was
used in (Alpha Tru64 and Mips based UNIX systems with the original MIPS
assembler) are no longer current systems.

--
Michael Meissner
AMD, MS 83-29
90 Central Street
Boxborough, MA 01719




More information about the Gcc-patches mailing list