DMD on Linux?

Cristian Vlasceanu cristian at zero-bugs.com
Mon Apr 2 09:48:15 PDT 2007


Hello,

Has anyone tried debugging a DMD-compiled program on Linux recently?

I am seeing incorrect source file paths in Zero and verified with 
dwarfdump and readelf that the DWARF info generated by DMD is wrong. The 
  funny thing is that this used to work in 0.174 or so.

Anyone having the same experience or am I seeing things?

I have already email Walter about this issue and as he is slow as usual 
in addressing Linux back-end issues I  was thinking about hacking Zero 
so that if it cannot locate the source (it is just the path that's 
wrong, the filename is okay) then go recursively search for it in the 
parent dir tree of the binary.

Of course it assumes that one builds their executables in the source dir 
tree.

Thoughts?

  Cristian Vlasceanu
http://www.zerobugs.org


More information about the Digitalmars-d-debugger mailing list