Meissner, Michael - RE: [PING] Fix mips-tfile causing gdb to crash on Tru64 (original) (raw)

This is the mail archive of the gcc-patches@gcc.gnu.orgmailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

-----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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]