warning: GDB: Failed to set controlling terminal

Codeblocks 13.12出现 warning: GDB: Failed to set controlling terminal: Operation not permitted".
gdb调试程序出现,上述提醒,不能进行调试,断点设置也没用
,已将terminal to launch console programs 设置为gnome-terminal-t $TITLE-x

请哪位大神帮忙解决??????????

http://blog.csdn.net/swust_long/article/details/7676237

.虽然没解决还是谢谢你

https://editor.csdn.net/md/?articleId=124053525