[Issue 1079] gdb on linux: Dwarf Error: Cannot find DIE at 0xb705 referenced from DIE at 0x250

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Oct 28 02:41:42 PDT 2007


http://d.puremagic.com/issues/show_bug.cgi?id=1079


braddr at puremagic.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX




------- Comment #7 from braddr at puremagic.com  2007-10-28 04:41 -------
The change in 1.011 that introduced this was intentional:

Extended Dwarf  symbolic debug output with DW_TAG_darray_type,
DW_TAG_aarray_type, and DW_TAG_delegate types.

If you don't use a D aware debugger, then you need to compile with -gc to
restrict the dwarf debug output.  The issue is on the gdb side in that it
doesn't support these DWARF extensions and in fact throws its hands up more
spectacularly than it needs to (it could continue past them while still
emitting the 'I dont understand' message.

So, this falls into the 'not a bug' category.  The work around is to use '-gc'
rather than just '-g'.  The more ideal fix is for someone to get all cozy with
gdb to teach it about the new debug info.


-- 



More information about the Digitalmars-d-bugs mailing list