RE: gcc + gdb + breakpoint => SIGSEGV

2008-03-03 Thread Dave Ohlsson
Hi, This is what I did: 1) Removed several applications (including MtSQL 5.0) and rebooted. => no help. 2) Downgraded gdb from version 6.5.50.20060706-cvs to version 6.3.50_2004-12-28-cvs (I couldn't find gdb version 6.7.1 that Ray mentioned in his post). => IT WORKS! Thanks! -- dav

RE: gcc + gdb + breakpoint => SIGSEGV

2008-03-03 Thread Dave Ohlsson
Update to my original post: The same problem does NOT occur on my second PC, where I also have Windows XP + Cygwin and EXACTLY the same versions of gcc (3.4.4) and gdb (6.5.50.20060706-cvs). On my second PC, I get a correct behavior: gdb a.exe (gdb) list 1 int main(int argc,

gcc + gdb + breakpoint => SIGSEGV

2008-03-02 Thread Dave Ohlsson
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 gd