Is there a way to unset inferior-tty?

Simon Marchi simon.marchi@polymtl.ca
Sat Jul 2 01:29:00 GMT 2016


On 2016-07-01 14:51, Pedro Alves 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.

That made me realize there is an alias for this, you can use "tty 
/dev/pts/X", which is equivalent to "set inferior-tty /dev/pts/X".  
There, I just saved you about 1 hour of typing per day :).

Simon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Allow-resetting-an-empty-inferior-tty.patch
Type: text/x-diff
Size: 1786 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb/attachments/20160702/446fa606/attachment.bin>


More information about the Gdb mailing list