aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2011-01-25 11:54:00 +0000
committerPedro Alves <palves@redhat.com>2011-01-25 11:54:00 +0000
commitf7605bc29f0c6454f73819850dd114cdba30d9fb (patch)
treea4d2bc38047e1a5117ae9dbf59b2bb5b843dbed7 /gdb/ChangeLog
parentd08aafeffe7dcdff4c4f876c6b8f730ce0270847 (diff)
downloadgdb-f7605bc29f0c6454f73819850dd114cdba30d9fb.zip
gdb-f7605bc29f0c6454f73819850dd114cdba30d9fb.tar.gz
gdb-f7605bc29f0c6454f73819850dd114cdba30d9fb.tar.bz2
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.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog17
1 files changed, 17 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 059db18..ecb1724 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,22 @@
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.
* xml-support.h (gdb_xml_parse_quick): Declare.