News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

can't compile with [-g] correctly

Started by polisbul, January 03, 2013, 10:41:54 AM

Previous topic - Next topic

polisbul

I'm using ubuntu 10.04 and codeblocks 10.05, and can't compile correctly with [-g] option for debugging. debug mode seems not to work (debugger shows me only symbols and codes, not code lines). [-g] is the only option enabled. outside codeblocks ddd works fine, so i suppose it's a compiling error.
any hint?

oBFusCATed

(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!]

polisbul

#2
checked all those pages, but nothing changes...
I still get this message:

warning: GDB: Failed to set controlling terminal: Operation not permitted

oBFusCATed

Have you tried to search about this warning?
(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!]

Jenna

Quote from: polisbul on January 03, 2013, 12:37:29 PM
checked all those pages, but nothing changes...
I still get this message:

warning: GDB: Failed to set controlling terminal: Operation not permitted

It's the first time you post about this message.
So it looks like you are not able or willing to give the needed information to evn try to help you.

And as you can see it's a warning message, not an error.
Search the web for it and youz will see it's a gdb, not a C::B issue, but it does not harm in any way.
Debugging usually works fine with C::B.