diff options
author | Michael Snyder <msnyder@vmware.com> | 2011-02-28 01:46:51 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2011-02-28 01:46:51 +0000 |
commit | 4b812f4ed9ec8dc933c5603f958b84495c41534f (patch) | |
tree | 1762555092625e24744d3fa148a820136dfef06b /gdb/gdbserver | |
parent | 086dbf661acc2fbca8dee48e21c9e5e289d7e2f5 (diff) | |
download | gdb-4b812f4ed9ec8dc933c5603f958b84495c41534f.zip gdb-4b812f4ed9ec8dc933c5603f958b84495c41534f.tar.gz gdb-4b812f4ed9ec8dc933c5603f958b84495c41534f.tar.bz2 |
2011-02-27 Michael Snyder <msnyder@vmware.com>
* server.c (handle_query): Discard unused value.
Diffstat (limited to 'gdb/gdbserver')
-rw-r--r-- | gdb/gdbserver/ChangeLog | 2 | ||||
-rw-r--r-- | gdb/gdbserver/server.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 62c612c..9149304 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -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. diff --git a/gdb/gdbserver/server.c b/gdb/gdbserver/server.c index ebfcca4..0ddf9de 100644 --- a/gdb/gdbserver/server.c +++ b/gdb/gdbserver/server.c @@ -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; } |