This is a gdb issue, it is not IDE-specific.

Here is a way to reproduce it using only console output:

- Get any console app compiled with -g option , let's assume it is 
~/helloworld.out
- Launch 2 independent terminals, e.g. xterm
- Get tty for the first of them (tty command), let's assume it is /dev/pts/1
- Launch gdb in the second terminal, then redirect i/o to the 1st terminal: gdb 
-tty /dev/pts/1 ~/helloworld.out
- Tell gdb (2nd terminal) to run the program: (gdb) r

The output terminal will print "failed to set..." etc.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/469005

Title:
  GDB: Failed to set controlling terminal

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to