Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: uriotcea on June 08, 2010, 09:43:26 am

Title: gdb7 don't work
Post by: uriotcea on June 08, 2010, 09:43:26 am
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
Title: Re: gdb7 don't work
Post by: oBFusCATed on June 08, 2010, 08:31:00 pm
Please specify some software version, os, cb, compiler?

Have you read this page: http://wiki.codeblocks.org/index.php?title=Debugging_with_Code::Blocks ?
Title: Re: gdb7 don't work
Post by: uriotcea on June 09, 2010, 01:01:21 am
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
Title: Re: gdb7 don't work
Post by: oBFusCATed on June 09, 2010, 01:39:25 am
Compilers don't debug, debuggers are used for this task!

OK, if you have a 64bit compiler and debugger, can you debug 64bit apps?
Title: Re: gdb7 don't work
Post by: uriotcea on June 09, 2010, 08:12:48 am
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
Title: Re: gdb7 don't work
Post by: oBFusCATed on June 09, 2010, 06:25:17 pm
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.
Title: Re: gdb7 don't work
Post by: uriotcea on June 09, 2010, 07:05:55 pm
Yes I think that as I wrote it in my second message !