It is impossible to debug code compiled with dmd

Walter Bright newshound1 at digitalmars.com
Wed Mar 31 13:37:21 PDT 2010


Robert Clipsham wrote:
> On 31/03/10 10:41, Eldar Insafutdinov wrote:
>> On Linux dmd outputs faulty debug info.
> 
> There are several bugs in the debug info on linux, one of them I've 
> fixed (for most cases ie. anything that requires phobos, I'm working on 
> the other cases ie. anything that needs funky libraries that use a lot 
> of complicated function pointers), and another one you've sent me a 
> massive test case for which I'm working down to a manageable size for a 
> bug report now (I'd have done it by now, your make file doesn't play 
> nicely with my multilib system though ;)). Other than those 2 bugs I 
> don't know what else is blocking debug info on linux... I'm becoming 
> quite familiar with DWARF/dmd's backend code for DWARF through all this 
> debugging, so if I can get these bugs fixed I'd be happy to work on any 
> others while I have time.

Please let me know when you have dwarf.c patches ready, and thank you for trying 
to figure this out.



More information about the Digitalmars-d mailing list