What's the proper way to debug D programs with GDB?
Walter Bright
newshound1 at digitalmars.com
Wed Mar 17 15:50:52 PDT 2010
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.
More information about the Digitalmars-d-debugger
mailing list