* remote-fileio.c (remote_fileio_return_success): Take a gdb_byte
authorDaniel Jacobowitz <drow@false.org>
Tue, 17 Jan 2006 14:11:16 +0000 (14:11 +0000)
committerDaniel Jacobowitz <drow@false.org>
Tue, 17 Jan 2006 14:11:16 +0000 (14:11 +0000)
commitcfd77fa13ec760bb2f8bc653b29cade7f958bbf8
tree179f0a342d546b5c3d6d2ab45e5c2e6113bddce8
parentb56cbdb94b9f12e392e093d736f3f151be7a264b
* remote-fileio.c (remote_fileio_return_success): Take a gdb_byte
argument.
(remote_fileio_func_open, remote_fileio_func_rename)
(remote_fileio_func_unlink, remote_fileio_func_stat)
(remote_fileio_func_fstat, remote_fileio_func_gettimeofday)
(remote_fileio_func_system): Cast the arguments to
remote_read_bytes and remote_write_bytes.
(remote_fileio_func_read, remote_fileio_func_write): Use a
gdb_byte buffer.
* remote.h (remote_read_bytes, remote_write_bytes): Update
prototypes.
* remote.c (hex2bin, bin2hex): Use gdb_byte for the BIN argument.
(threadref_to_int): Replace bogus char * cast.
(remote_unpack_thread_info_response): Use int for tag.
(remote_threads_extra_info, remote_check_symbols): Cast string
arguments to hex2bin.
(remote_wait): Use a char buffer for packets and a gdb_byte
buffer for registers.
(remote_async_wait): Likewise.
(remote_prepare_to_store, store_register_using_P)
(remote_store_registers): Use gdb_byte buffers.
(remote_write_bytes, remote_read_bytes): Use a gdb_byte pointer
for MYADDR and char buffers for strings.
(remote_xfer_partial): Add casts for string operations on READBUF.
(remote_rcmd): Cast strings passed to bin2hex.
gdb/ChangeLog
gdb/remote-fileio.c
gdb/remote.c
gdb/remote.h
This page took 0.027331 seconds and 4 git commands to generate.