This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix handling of qtsave responses


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);


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]