[PATCH] Fix handling of qtsave responses

Luis Machado luis_gustavo@mentor.com
Thu Oct 13 13:16:00 GMT 2011


I've checked this in now.

Luis
On 10/12/2011 06:49 PM, Jan Kratochvil wrote:
> On Wed, 28 Sep 2011 08:31:24 +0200, Luis Machado wrote:
>> It has been approved off-list by Pedro.
> I agree - just I haven't found it checked in yet.
>
>
> Thanks,
> Jan
>
>
>> 2011-09-28  Luis Machado<lgustavo@codesourcery.com>
>>
>> 	* remote.c (remote_save_trace_data): Invert comparison.
> [...]
>>     reply = remote_get_noisy_reply (&target_buf,&target_buf_size);
>> -  if (*reply != '\0')
>> +  if (*reply == '\0')
>>       error (_("Target does not support this command."));
>>     if (strcmp (reply, "OK") != 0)
>>       error (_("Bogus reply from target: %s"), reply);



More information about the Gdb-patches mailing list