DMD on Linux?
Cristian Vlasceanu
cristian at zerobugs.org
Mon Apr 2 11:23:43 PDT 2007
John Demme Wrote:
> > Of course it assumes that one builds their executables in the source dir
> > tree.
> >
> > Thoughts?
> >
> What if there are multiple files by the same name in different directories?
> Also, I frequently have the programs I'm debugging in a separate directory
> from the source since I'll be working on a library and the test code is in,
> say, a unittest directory or examples directory-- separate from the library
> code.
>
Yes, the hackish workaround that I suggested would not work in these cases.
> I was debugging a program built with DMD 1.010 the other day and Zero
> appeared to be finding the source files fine, though. I'm using Zero:
> Zero (v1.5.41 Jan 31 2007 12:40:08)
> The Linux Application Debugger (Linux 2.6.19-gentoo-r2/x86_64) root at capetown
>
> That version of Zero had some pretty bad issues with the stack trace on that
> particular program, by the way, but I know it's a pretty old version.
>
Could you send me the code, or a boiled-down test case, please?
I was going to update the version that you are using, so maybe I can work out a fix before updating (or at least diagnose the problem).
Thanks
Cristian
More information about the Digitalmars-d-debugger
mailing list