* remote.c (remote_write_bytes): Take a const buffer argument.
authorDaniel Jacobowitz <drow@false.org>
Tue, 15 Aug 2006 18:17:57 +0000 (18:17 +0000)
committerDaniel Jacobowitz <drow@false.org>
Tue, 15 Aug 2006 18:17:57 +0000 (18:17 +0000)
commitb2182ed226dfa161296df892b2f12650d67c0ba0
tree5d907980af3568b7fd9f52623e369db70826031b
parent20de9fc8774ead2c9fb9954269c949b1ecb1e3f8
* 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