warning: GDB: Failed to set controlling terminal: Operation not permitted
I get this error (title of this question), when I am attempting to debug C/C++ programs us开发者_运维技巧ing gdb with Netbeans IDE.
Does anyone know what this means, and how to get rid of the warning?
I am able to debug despite the warning, but I'd still like to make the warning go away.
Relevant details:
- OS: Ubuntu 9.10
- gdb: 7.0-ubuntu
- Netbeans: 6.8.1
Project > Properties > Run > Console Type > Output Windows
Check that your code has in fact been built with debug. From experience (in Linux) if you don't have any symbols GDB can give this error.
精彩评论