Author Topic: gdb7 don't work  (Read 4704 times)

Offline uriotcea

  • Multiple posting newcomer
  • *
  • Posts: 11
gdb7 don't work
« 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

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: gdb7 don't work
« Reply #1 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 ?
(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!]

Offline uriotcea

  • Multiple posting newcomer
  • *
  • Posts: 11
Re: gdb7 don't work
« Reply #2 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

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: gdb7 don't work
« Reply #3 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?
(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!]

Offline uriotcea

  • Multiple posting newcomer
  • *
  • Posts: 11
Re: gdb7 don't work
« Reply #4 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

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: gdb7 don't work
« Reply #5 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.
(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!]

Offline uriotcea

  • Multiple posting newcomer
  • *
  • Posts: 11
Re: gdb7 don't work
« Reply #6 on: June 09, 2010, 07:05:55 pm »
Yes I think that as I wrote it in my second message !