News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

gdb7 don't work

Started by uriotcea, June 08, 2010, 09:43:26 AM

Previous topic - Next topic

uriotcea

hello,

I just installed MingW-w64 with gdb7 and when I tried to use debugging gdb staring correctly but never catch breakpoint and C::B is frozen
Thnak in advance for your help

oBFusCATed

Please specify some software version, os, cb, compiler?

Have you read this page: http://wiki.codeblocks.org/index.php?title=Debugging_with_Code::Blocks ?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

uriotcea

C::B version is 8.02, but in fact in think my trouble comes because I try to debug a 32bit C++ code with a 64bit compilator and debugger, gcc4.5 with gdb7. I don't know why, but my 64bis compilor is not able to debug 32bits source

oBFusCATed

Compilers don't debug, debuggers are used for this task!

OK, if you have a 64bit compiler and debugger, can you debug 64bit apps?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

uriotcea

Yes, debug and compile my application perfectely works when I used -m64 options for compilor an llinker. When I replace by -m32, I can compiler and link and my application works but I can't debug. I think that come from a gdb bug

oBFusCATed

Or gdb is build to debug only 64bit apps?
So this is not a C::B's problem.
Please ask the gdb people or the guys you've got the debugger.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

uriotcea

Yes I think that as I wrote it in my second message !