2011-10-13 Luis Machado <lgustavo@codesourcery.com>
* remote.c (remote_save_trace_data): Invert comparison.
This commit is contained in:
parent
a70633a2dd
commit
d6c5869f50
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2011-10-13 Luis Machado <lgustavo@codesourcery.com>
|
||||||
|
|
||||||
|
* remote.c (remote_save_trace_data): Invert comparison.
|
||||||
|
|
||||||
2011-10-13 Luis Machado <lgustavo@codesourcery.com>
|
2011-10-13 Luis Machado <lgustavo@codesourcery.com>
|
||||||
|
|
||||||
* tracepoint.c (trace_save_command): Use filename instead of
|
* tracepoint.c (trace_save_command): Use filename instead of
|
||||||
|
|
|
@ -10274,7 +10274,7 @@ remote_save_trace_data (const char *filename)
|
||||||
*p++ = '\0';
|
*p++ = '\0';
|
||||||
putpkt (rs->buf);
|
putpkt (rs->buf);
|
||||||
reply = remote_get_noisy_reply (&target_buf, &target_buf_size);
|
reply = remote_get_noisy_reply (&target_buf, &target_buf_size);
|
||||||
if (*reply != '\0')
|
if (*reply == '\0')
|
||||||
error (_("Target does not support this command."));
|
error (_("Target does not support this command."));
|
||||||
if (strcmp (reply, "OK") != 0)
|
if (strcmp (reply, "OK") != 0)
|
||||||
error (_("Bogus reply from target: %s"), reply);
|
error (_("Bogus reply from target: %s"), reply);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue