gcc + gdb + breakpoint => SIGSEGV (Cygwin)

2007-06-24 Thread dave_140390
Hi, I have a problem when trying to use gdb with a program compiled with gcc in Cygwin. I compile this program: int main(int argc, char** argv) { return 0; } with this command: gcc -g main.c and I get this file: 9757 Jun 24 09:00 a.exe I then start gdb: gdb a.exe and running t

gcc + gdb + breakpoint => SIGSEGV (Cygwin)

2008-03-01 Thread dave_140390
Hi, I have a problem when trying to use gdb with a program compiled with gcc in Cygwin. I compile this program: int main(int argc, char** argv) { return 0; } with this command: gcc -g main.c and I get this file: 9757 Mar 1 21:27 a.exe I then start gdb: gdb a.exe and running t