diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2012-06-05 21:22:31 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2012-06-05 21:22:31 +0000 |
commit | 45aa465930d4e197d35a856df57ba2720ffa036d (patch) | |
tree | caec6b7fff4ae083836c56c8f1d5f5d70c8ac580 /gdb/remote.c | |
parent | 1b162304d12fb239357849951093adf48609265a (diff) | |
download | binutils-45aa465930d4e197d35a856df57ba2720ffa036d.zip binutils-45aa465930d4e197d35a856df57ba2720ffa036d.tar.gz binutils-45aa465930d4e197d35a856df57ba2720ffa036d.tar.bz2 |
gdb/
* corefile.c (read_memory, read_stack, write_memory): Accept LEN
argument as ssize_t.
* gdbcore.h (read_memory, read_stack, write_memory): Likewise.
* remote.c (remote_write_bytes_aux, remote_write_bytes): Likewise.
* target.c (target_read_stack, target_write_memory)
(target_write_raw_memory): Likewise.
* target.h (target_read_stack, target_write_memory)
(target_write_raw_memory): Likewise.
Diffstat (limited to 'gdb/remote.c')
-rw-r--r-- | gdb/remote.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/remote.c b/gdb/remote.c index 565de19..38ecd08 100644 --- a/gdb/remote.c +++ b/gdb/remote.c @@ -6450,7 +6450,7 @@ check_binary_download (CORE_ADDR addr) static int remote_write_bytes_aux (const char *header, CORE_ADDR memaddr, - const gdb_byte *myaddr, int len, + const gdb_byte *myaddr, ssize_t len, char packet_format, int use_length) { struct remote_state *rs = get_remote_state (); @@ -6611,7 +6611,7 @@ remote_write_bytes_aux (const char *header, CORE_ADDR memaddr, error. Only transfer a single packet. */ static int -remote_write_bytes (CORE_ADDR memaddr, const gdb_byte *myaddr, int len) +remote_write_bytes (CORE_ADDR memaddr, const gdb_byte *myaddr, ssize_t len) { char *packet_format = 0; |