← Back to team overview

registry team mailing list archive

[Bug 469005] Re: GDB: Failed to set controlling terminal

 

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 Registry
Administrators, which is the registrant for gdb.
https://bugs.launchpad.net/bugs/469005

Title:
  GDB: Failed to set controlling terminal