This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/49202] MMIX: Wrong debugging information generated (UNKNOWN: length 2)
- From: "nils at script-solution dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 7 Jul 2011 23:11:00 +0000
- Subject: [Bug target/49202] MMIX: Wrong debugging information generated (UNKNOWN: length 2)
- Auto-submitted: auto-generated
- References: <bug-49202-4@http.gcc.gnu.org/bugzilla/>
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.