You are not logged in.

#1 2013-11-15 00:01:53

Derek95
Member
Registered: 2013-11-14
Posts: 1

CodeBlocks Error: warning : GDB Failed to set controlling terminal

There are actually two problems:
First: When I use codeblocks to debug my code, gdb throws a warning message: warning: GDB: Failed to set controlling terminal: Operation not permitted
and I have already google a lot, but nothing what I found can be helpful.
Second; why I can't see any output if I just use printf in my program
like this:
if I use printf("abc"); when I run the program, gnome-terminal shows nothing.
however if I use printf("abc\n"), gnome-terminal shows correctly. I do really don't quite understand what kind of event can lead to this phenomenon.  And how
I can adjust it into a normal state.

Offline

#2 2014-01-19 10:56:06

yoyosan
Member
Registered: 2013-11-08
Posts: 6

Re: CodeBlocks Error: warning : GDB Failed to set controlling terminal

Hello.

Did you manage to fix this?

Offline

Board footer

Powered by FluxBB