[Issue 3387] gdb: symbols in the backtrace are not demangled

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Apr 2 14:46:38 PDT 2010


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


Robert Clipsham <robert at octarineparrot.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|wrong-code                  |
             Status|NEW                         |RESOLVED
                 CC|                            |robert at octarineparrot.com
         Resolution|                            |INVALID


--- Comment #3 from Robert Clipsham <robert at octarineparrot.com> 2010-04-02 22:46:37 BST ---
I've removed the wrong-code keyword, and closing this bug, as it isn't a dmd
issue. The code generated is correct, as -gc means D should pretend to be C...
Which means symbol names have to be mangled, as otherwise they are not valid C
symbols. It also means gdb won't demangle them, as it detects C and not D. The
correct solution for this bug is to add support for the D extensions to gdb,
there's nothing dmd can do about this without adding another debugging mode,
something I think is best avoided.

-- 
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