Re: Is there a way to unset inferior-tty?

Bob Rossi <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
On Sat, Jul 02, 2016 at 02:04:39PM +0000, Marc Khouzam wrote:
> > > I think this should just be fixed to work.
> > > 
> > > The fix should be very similar to this:
> > > 
> > > 
> > > https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=811a659a779fdf93293fe1105d99e9db171a8b68
> > > 
> > > Thanks,
> > > Pedro Alves
> > 
> > Hi Marc,
> > 
> > Here's a patch.  If you like it I'll submit it to gdb-patches with 
> > ChangeLog and all.
> 
> Thanks! Might as well submit it.
> 
> In the end I moved to a more complete solution for eclipse.   Right
> after an inferior starts, eclipse will reset the tty to a new and
> valid value; that way, if the user does a 'run', the tty will already
> be properly set _and_ will direct inferior output to a valid eclipse
> console.

I do the same thing in CGDB.

Thanks,
Bob Rossi
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.