This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Debugging gcc-compiled programs on Windows
- From: Andrew Smith <andrew at littlesvr dot ca>
- To: gcc-help at gcc dot gnu dot org
- Date: Fri, 16 Nov 2007 15:51:51 -0500
- Subject: Debugging gcc-compiled programs on Windows
Hi
I just finished porting a GTK (pure C) app to Windows, but there is some
weird bug, that I need a debugger to find.
Im using mingw to build it. There is a gdb package for mingw, but that
doesn't work - when I press ctrl-c gdb quits, so since I'm not getting
crashes the utility of it is.. not there.
Is it possible to compile programs using gcc on windows so that the
visual studio debugger will be able to load the symbols for it?
Or is there some way to attach any debugger to a such a program and
break execution while it's running?
Thanks,
Andrew