title: warning: GDB: Failed to set controlling terminal: Operation not permitted
body: <p>I get this error (title of this question), when I am attempting to debug C/C++ programs using gdb with Netbeans IDE.</p>
  
  <p>Does anyone know what this means, and how to get rid of the warning?</p>
  
  <p>I am able to debug despite the warning, but I'd still like to make the warning go away.</p>
  
  <p>Relevant details:</p>
  
  <ol>
  <li>OS: Ubuntu 9.10</li>
  <li>gdb: 7.0-ubuntu</li>
  <li>Netbeans: 6.8.1</li>
  </ol>