Hi everyone! I installed LDC on my Ubuntu 9.04/x86-64 system from the Launchpad Apt repository. So far it works great, but debugging is strange.
I compile using ldc -g -debug test.d which should add symbolic debugger information to the executable, but when I run 'list' in gdb (original Debian/Ubuntu version as well as a self-compiled version with the current D patches) subsequently, I won't be shown the compiled source code, but obviously code from a lower level, which looks like 159 */ 160 int main(char[][] args); 161 162 /*********************************** 163 * Substitutes for the C main() function. 164 * It's purpose is to wrap the call to the D main() 165 * function and catch any unhandled exceptions. 166 */ 167 168 extern (C) int main(int argc, char **argv, char** env) (gdb) 169 { (...) Is there any way to fix this? Do I need other parameters to compile? Best regards, Timo