[Mingw-w64-public] Bad DWARF info?

2020-11-25 Thread Jameson Nash
In response to the old thread https://sourceforge.net/p/mingw-w64/mailman/mingw-w64-public/thread/CA%2BcU71k2bU0azQxjy4-77ynQj1O%2BTKmgtaTKe59n7Bjub1y7Tg%40mail.gmail.com/#msg36282439, I've created a patch for gdb ( https://sourceware.org/pipermail/gdb-patches/2020-November/173554.html) that I

Re: [Mingw-w64-public] Bad DWARF info?

2018-04-13 Thread Tom Ritter
More info: removing -g dwarf2 from the flags seems to have resolved both types of bad sections. The build is here: https://treeherder.mozilla.org/#/jobs?repo=try=3b5af6123e2677f616c33786beb1ec812431f763=173414445 However, relocating the debug symbols (as described in

Re: [Mingw-w64-public] Bad DWARF info?

2018-04-12 Thread Tom Ritter
Okay, I've been digging into this and have more information. I have a few things I'm going to try, but any insight into what might be happening or why or other things to try would be greatly appreciated. The DWARF data is definitely bad. Specifically the offset into the .debug_abbrev section is