Is there a way to unset inferior-tty?

Pedro Alves palves@redhat.com
Thu Aug 11 17:00:00 GMT 2016


On 07/02/2016 02:29 AM, Simon Marchi wrote:
> 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.

I like it.

It's more idiomatic to write *str != '\0' than check strlen > 0 though.

Thanks,
Pedro Alves



More information about the Gdb mailing list