User forums > Using Code::Blocks

A problem with gdb 5.2.1 in win32

(1/1)

courage:
Hello:

I write a little tool for sequentially copying a directory, but it's not the point. :D
The point is when I set the breakpoint at
DirList.cpp:47(inner the member fn DirList::wxDirTraverserDirs::OnDir(const wxString& dirname)),
and added a watch for param "dirname", then gdb crashed.

GDB crashing happened with C::B, but not with eclipse,
so I guess it was maybe a bug of C::B.

My environment is win xp sp2, using MinGW(GCC 4.1.1), gdb 5.2.1.
you can download the tool for testing here:
http://home.kimo.com.tw/ctm2006ctm2006/wxCpDir.7z

Thanks for concerned about my report.  :)

stahta01:
Have you tried gdb 6.x because I don't think Code::Blocks supports gdb 5.x.
( A post I read in December mentioned that a change was going to break the unofficial support of gdb 5.x; the changed to full path names for GCC & GDB.)

Also, what version and/or SVN of Code::Blocks are you using?

The wiki only shows gdb 6.x versions used.
http://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_nightly_build_on_Windows

Tim S

courage:
Hi stahta01:

That is so..Thanks for your help.
When I change to using gdb 6.3.2, it may not crash. :D

I think this problem may cofuse some beginner with Code::Blocks,
because Mingw official download page also put the link of gdb 5.2.1.

I always use the newest nightly builds of Code::Blocks.
Thanks.

Navigation

[0] Message Index

Go to full version