OSDN Git Service

* remote.c (remote_write_bytes): Take a const buffer argument.
authordrow <drow>
Tue, 15 Aug 2006 18:17:56 +0000 (18:17 +0000)
committerdrow <drow>
Tue, 15 Aug 2006 18:17:56 +0000 (18:17 +0000)
commit33e07a3bfe399324f3fd07d22c0f9336c2a44b6e
tree6cfa9c77b7ba48b863f5ce594ac3c647e0432cf7
parent978b905175d86cd4dee88d2aad772356f1f931b1
* remote.c (remote_write_bytes): Take a const buffer argument.
Do the checks from remote_xfer_memory.
(remote_read_bytes): Do the checks from remote_xfer_memory.
(remote_xfer_memory): Remove checks pushed into lower level
functions.
(remote_xfer_partial): Call remote_write_bytes and remote_read_bytes
directly.
* remote.h (remote_write_bytes): Update prototype.
gdb/ChangeLog
gdb/remote.c
gdb/remote.h