Page 1 of 1

gdb problem

Posted: Tue May 23, 2006 4:54 pm
by Oliver Bestmann
i developed a small application using gcc + dialog Blocks

i can compile link and run any app without any probs.

today i have changed from Visual C++ express to mingw to use the gdb debugger

i can compiler both release and debug versions but the debugger stops execution after the following messages

gdb -nw "C:\Dokumente und Einstellungen\All Users\Dokumente\jochen\Filetrans\DebugMSW\filetrans.exe" --directory="C:\DOKUME~1\ALLUSE~1\DOKUME~1\jochen\FILETR~1"
GNU gdb 20040521
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i686-pc-mingw32"...

windows pops up a message that gdb caused a problem
send or not send to microsoft

does anybody know what the cause is ?



Posted: Wed May 24, 2006 1:48 pm
by chris
Sounds like simply a bug in gdb. You could try to install a newer version of gdb. There's a snapshot version (6.3.1) available at MinGW's download page:


Posted: Sun May 28, 2006 5:22 am
by Oliver Bestmann
thx for your answer

update done

same problem


Posted: Sun May 28, 2006 7:20 am
by Oliver Bestmann
i found a solution

switch from ggdb in compiler settings to gdb native solved the problem