This is the mail archive of the gcc-bugs@gcc.gnu.org mailing 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]

[Bug target/49202] MMIX: Wrong debugging information generated (UNKNOWN: length 2)


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49202

--- Comment #2 from Nils Asmussen <nils@script-solution.de> 2011-07-07 23:10:32 UTC ---
(In reply to comment #1)
> I hope to check this some time in the next four weeks...
> At a glance, it might be a binutils issue, with the relocs message.
Thanks.

I don't know if it helps, but a workaround is to remove the lines 22031,22032
of gcc/dwarf2out.c:
if (SUPPORTS_DISCRIMINATOR && discriminator != 0)
    fprintf (asm_out_file, " discriminator %d", discriminator);

This way, the unknown debugging information is gone and debugging using gdb
works.


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