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

Pedro Alves <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
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
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.