------- Comment #3 from ro at CeBiTec dot Uni-Bielefeld dot DE 2010-04-21 14:24 ------- Subject: Re: stabs debug info fails onIRIX 5.3
I don't think this is a gcc bug. While the native IRIX 5 tools use ECOFF debugging info embedded in ELF (mdebug), they don't know about Stabs-in-ECOFF/mdebug which is a GCC extension which IRIX 5 gdb cannot handle. Therefore it seems to be more useful to use Stabs-in-ELF instead of Stabs-in-ECOFF/mdebug instead, like gas on IRIX 6 does. In fact, I've got a patch to gas to do so. It seems like gas cannot properly handle the case where ECOFF_DEBUGGING_INFO isn't a compile time constant, but can change at runtime based on the -mdebug/-no-mdebug switch. Once this is properly tested, I'll submit it to the gas maintainers and update this PR accordingly. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39104