codeblocks gdb error

OS: ubuntu 12.04 x64
IDE: CodeBlocks
Error: "warning: GDB: failed to set controlling terminal: operation not permitted"

Would someone please shed some light on what may be causing this problem. The option I am using to compile this is -g. Thank you for your help.
Topic archived. No new replies allowed.