Re: Segmentation fault when debugging C++ with gdb.

2006-06-16 Thread Larry Hall (Cygwin)
Mikael Rosbacke wrote: Hello! I'm having problem to debug my C++ programs using GDB under cygwin. I get a seg-fault in the c-startup before the main function has been started. The following test program is used: [EMAIL PROTECTED] /cygdrive/c/testcase$ more /cygdrive/c/testcase/test.cpp #includ

Re: Segmentation fault when debugging C++ with gdb.

2006-06-16 Thread Igor Peshansky
On Fri, 16 Jun 2006, Mikael Rosbacke wrote: > Hello! > > I'm having problem to debug my C++ programs using GDB under cygwin. I > get a seg-fault in the c-startup before the main function has been > started. > [snip] > > Trying to compile and run this program in cygwin give me the following > resul