[Issue 4149] refs displayed as pointers in gdb
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun May 2 13:44:31 PDT 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4149
Robert Clipsham <robert at octarineparrot.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |robert at octarineparrot.com
--- Comment #1 from Robert Clipsham <robert at octarineparrot.com> 2010-05-02 21:44:31 BST ---
This is done because C does not have reference types, and no debugger currently
supports the debug output produced by dmd when using -g. When using -g dmd
should, as you say, use the DWARF reference type, which it does not currently
do. When using -gc, it should be a pointer as it is now. I'll try and put a
patch together later today. As a side note, classes should be reference types
too, rather than acting as pointers as they do currently.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list