Re: What's the proper way to debug D programs with GDB?

2010-03-20 Thread Robert Clipsham
On 19/03/10 00:34, Bernard Helyer wrote: http://omploader.org/iM3ZudA There you go. D2, run build.debug.sh to build. Modify the script to add options and the like. Built with `-gc` list _Dmain or break _Dmain doesn't work, if you force a segfault (remove the comments from the first few lines of

Re: What's the proper way to debug D programs with GDB?

2010-03-20 Thread grauzone
Robert Clipsham wrote: On 19/03/10 00:34, Bernard Helyer wrote: http://omploader.org/iM3ZudA There you go. D2, run build.debug.sh to build. Modify the script to add options and the like. Built with `-gc` list _Dmain or break _Dmain doesn't work, if you force a segfault (remove the comments

Re: Debugging LDC executables

2010-03-20 Thread Timo Gransch
Timo Gransch wrote: When running list in gdb, I got (gdb) list 1 ../sysdeps/x86_64/elf/start.S: No such file or directory. in ../sysdeps/x86_64/elf/start.S Hi, did anybody try to debug LDC 0.92 executables on Linux/x86-64? Using the binary version of the compiler, I still get the