gdb seg fault

Chris central_p at hotmail.com
Sat Feb 18 21:16:26 PST 2006


Does anybody know why when trying to debug a "Hello world" program with 
gdb under cygwin, it causes a segmentation fault? But it runs fine, when 
it is not debugged.

Here is the program:

import std.stdio;

void main()
{
     int i = 1;
     i++;
     printf("Good bye");
     writefln("\n%d", i);
}



More information about the Digitalmars-d mailing list