[Issue 9800] Numerous issues with DWARF debug output

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat Oct 10 04:45:55 PDT 2015


https://issues.dlang.org/show_bug.cgi?id=9800

--- Comment #12 from Iain Buclaw <ibuclaw at gdcproject.org> ---
(In reply to Iain Buclaw from comment #2)
> 
> 7. DW_TAG_module is only valid for Fortran/Modula-2, but I'd argue that this
> is a bug.  It would be nice to represent statics as being part of a module,
> my hope would be that adding support would mean that we'd no longer have to
> use 'quotations' or the full mangled name to get/set global decls in the
> debugger.  Though it is worth noting that DWARF2 does not have DW_TAG_module.
> 
> 

The next version of GDB (7.11, unless they do some bikeshedding of their
versioning system) will include explicit support for this in D programs.  And
will also be able to discover if a bare named symbol is from an imported
module, and even handles renamed module + symbol imports.

However it still requires that DMD be able to emit debug code for this though.

--


More information about the Digitalmars-d-bugs mailing list