[Issue 1001] print stack trace (in debug mode) when program die
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Feb 15 12:17:47 PST 2014
https://d.puremagic.com/issues/show_bug.cgi?id=1001
--- Comment #75 from Vladimir Panteleev <thecybershadow at gmail.com> 2014-02-15 22:17:15 EET ---
(In reply to comment #63)
> So we have stack traces on all platforms by now, can I close the bug?
What about line numbers? I think we only have them on Win64.
> Regarding DWARF processing, it shouldn't be too hard.
DWARF uses a weird state machine for efficient representation of file/line
information. Doable but not trivial.
> But we could also dynamically load libdw.so from elfutils if it's installed
> similarly to how we load dbghelp.dll on Windows.
It's GPL just like binutils. IANAL, but I'm not sure about dynamically loading
GPL libs. I know the GPL forbids redistribution of any programs that include
the library... Doesn't that mean that it would make it impossible for e.g.
Linux distributions to distribute non-GPL D software together with the library?
> https://github.com/bombela/backward-cpp
This seems to only support binutils and elfutils, both of which are GPL.
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list