Stop remote_read_bytes from handling partial reads itself.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 059db183b2b2f5ad1adf0aef7e6df015fe31796a..ecb1724f48e728479b76e88ad66d93eaa21d8aeb 100644 (file)
@@ -1,3 +1,20 @@
+2011-01-25  Pedro Alves  <pedro@codesourcery.com>
+
+       Stop remote_read_bytes from handling partial reads itself.
+
+       * remote-fileio.c: Include target.h.
+       (remote_fileio_write_bytes): Delete.
+       (remote_fileio_func_open, remote_fileio_func_write)
+       (remote_fileio_func_rename, remote_fileio_func_unlink): Use
+       target_read_memory.
+       (remote_fileio_func_stat): Use target_read_memory and
+       target_write_memory.
+       (remote_fileio_func_gettimeofday): Use target_write_memory.
+       (remote_fileio_func_system): Use target_read_memory.
+       * remote.c (remote_write_bytes): Make it static.
+       (remote_read_bytes): Don't handle partial reads here.
+       * remote.h (remote_read_bytes): Delete declaration.
+
 2011-01-25  Pedro Alves  <pedro@codesourcery.com>
 
        Simplify XML parsing a bit.
This page took 0.02389 seconds and 4 git commands to generate.