[Issue 3387] gdb: symbols in the backtrace are not demangled
https://issues.dlang.org/show_bug.cgi?id=3387 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Version|1.051 |D1 --
[Issue 3387] gdb: symbols in the backtrace are not demangled
http://d.puremagic.com/issues/show_bug.cgi?id=3387 Robert Clipsham rob...@octarineparrot.com changed: What|Removed |Added Keywords|wrong-code | Status|NEW |RESOLVED CC||rob...@octarineparrot.com Resolution||INVALID --- Comment #3 from Robert Clipsham rob...@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: ---
[Issue 3387] gdb: symbols in the backtrace are not demangled
http://d.puremagic.com/issues/show_bug.cgi?id=3387 Leandro Lucarella llu...@gmail.com changed: What|Removed |Added Version|1.047 |1.051 Severity|regression |normal --- Comment #2 from Leandro Lucarella llu...@gmail.com 2009-10-19 19:07:58 PDT --- It doesn't look like a regression after all, it seems to depend on whatever -g or -gc is used. With -g I get the properly demangled names, but with -gc I don't. The problem is, -g is broken with GDB, so I can't use -g. It would be a problem to have -gc producing the necessary debug info to get properly demangled names? Sorry for the noise. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 3387] gdb: symbols in the backtrace are not demangled
http://d.puremagic.com/issues/show_bug.cgi?id=3387 --- Comment #1 from Leandro Lucarella llu...@gmail.com 2009-10-12 13:59:32 PDT --- BTW DMD 2.034 works fine: -- (gdb) bt #0 0x080490cb in D main () #1 0x080490c5 in D main () #2 0x080490c5 in D main () #3 0x080490c5 in D main () #4 0x080490c5 in D main () #5 0x080490c5 in D main () #6 0x080490c5 in D main () #7 0x080490c5 in D main () #8 0x080490c5 in D main () #9 0x080490c5 in D main () #10 0x080490c5 in D main () #11 0x080493b4 in rt.dmain2.main() () #12 0x080491bd in rt.dmain2.main() () #13 0x080493f6 in rt.dmain2.main() () #14 0x080491bd in rt.dmain2.main() () #15 0x08049168 in main () -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---