grauzone wrote:
dmd producing buggy debugging information seems to be an old problem: http://d.puremagic.com/issues/show_bug.cgi?id=1079
The problem is that dmd produces dwarf debug info according to the dwarf spec. When gdb fails, I have no clue why, and nobody has ever been able to figure out just *what* in the dwarf info is causing gdb to fail.
Some problems were identified a few months back, and those were fixed (evidently gdb cannot handle module records, and gdb also relied on some undocumented stuff).
If anyone wants to peruse the gdb source and figure out exactly *what* it is choking on, that would be most appreciated.