OSDN Git Service

Stop remote_read_bytes from handling partial reads itself.
authorpalves <palves>
Tue, 25 Jan 2011 11:53:59 +0000 (11:53 +0000)
committerpalves <palves>
Tue, 25 Jan 2011 11:53:59 +0000 (11:53 +0000)
commit5f97bebbde96b0a17c6ef7e89356881a724a9c64
treeb11ffa5e51bcb373fb1aefa88ede6b55f9dad06c
parent139c820eb3a474fe7237352b186c7ed006783c45
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.
gdb/ChangeLog
gdb/remote-fileio.c
gdb/remote.c
gdb/remote.h