Author Topic: A problem with gdb 5.2.1 in win32  (Read 4608 times)

Offline courage

  • Multiple posting newcomer
  • *
  • Posts: 48
A problem with gdb 5.2.1 in win32
« on: February 19, 2007, 04:11:48 am »
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.  :)
« Last Edit: February 19, 2007, 05:06:35 am by courage »

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7591
    • My Best Post
Re: A problem with gdb 5.2.1 in win32
« Reply #1 on: February 19, 2007, 04:28:31 am »
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
« Last Edit: February 19, 2007, 04:37:51 am by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline courage

  • Multiple posting newcomer
  • *
  • Posts: 48
Re: A problem with gdb 5.2.1 in win32
« Reply #2 on: February 19, 2007, 05:26:52 am »
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.