Code::Blocks Forums
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
As usual while waiting for the next release - don't forget to check the
nightly builds
in the forum.
Home
Help
Search
Login
Register
Code::Blocks Forums
»
User forums
»
Using Code::Blocks
»
gdb7 don't work
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: gdb7 don't work (Read 4716 times)
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
Logged
oBFusCATed
Developer
Lives here!
Posts: 13413
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
?
Logged
(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
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
Logged
oBFusCATed
Developer
Lives here!
Posts: 13413
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?
Logged
(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
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
Logged
oBFusCATed
Developer
Lives here!
Posts: 13413
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.
Logged
(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
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 !
Logged
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
Code::Blocks Forums
»
User forums
»
Using Code::Blocks
»
gdb7 don't work