2011-02-27 Michael Snyder <msnyder@vmware.com>
authorMichael Snyder <msnyder@vmware.com>
Mon, 28 Feb 2011 01:46:51 +0000 (01:46 +0000)
committerMichael Snyder <msnyder@vmware.com>
Mon, 28 Feb 2011 01:46:51 +0000 (01:46 +0000)
* server.c (handle_query): Discard unused value.

gdb/gdbserver/ChangeLog
gdb/gdbserver/server.c

index 62c612ca2883f49765b80ca67144514c6e182788..914930434c61e22d9f4c7c6f44d2653bf0c20cb5 100644 (file)
@@ -1,5 +1,7 @@
 2011-02-27  Michael Snyder  <msnyder@vmware.com>
 
+       * server.c (handle_query): Discard unused value.
+
        * hostio.c (require_data): Free malloc memory before returning
        error.
 
index ebfcca4e5870279260f7935b472316929de0259c..0ddf9de50aa2dc7a102d3761de2ad207dcdefb89 100644 (file)
@@ -1357,7 +1357,7 @@ handle_query (char *own_buf, int packet_len, int *new_packet_len_p)
 
       sprintf (own_buf, "QC");
       own_buf += 2;
-      own_buf = write_ptid (own_buf, gdb_id);
+      write_ptid (own_buf, gdb_id);
       return;
     }