gdb/server/
authorPedro Alves <palves@redhat.com>
Mon, 7 Feb 2011 12:14:14 +0000 (12:14 +0000)
committerPedro Alves <palves@redhat.com>
Mon, 7 Feb 2011 12:14:14 +0000 (12:14 +0000)
commit764880b7edb584d2e037474a40fd06f17e6c5fd5
tree7347307cef1e7362e7a86b6ecb786384be4e643a
parent32a96f364b9e54a5f42d8367ef770efead63cd50
gdb/server/
* server.c (gdb_read_memory): Change return semantics to allow
partial transfers.
(handle_search_memory_1): Adjust.
(process_serial_event) <'m' packet>: Handle partial transfers.
* tracepoint.c (traceframe_read_mem): Handle partial transfers.

gdb/testsuite/
* gdb.trace/collection.c (global_pieces): New.
* gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
New procedure.
(gdb_trace_collection_test): Call it.
gdb/gdbserver/ChangeLog
gdb/gdbserver/server.c
gdb/gdbserver/tracepoint.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.trace/collection.c
gdb/testsuite/gdb.trace/collection.exp