diff options
author | Michael Snyder <msnyder@vmware.com> | 2001-05-14 18:31:35 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2001-05-14 18:31:35 +0000 |
commit | 2644f3936c09e5883f8547c6b577fec9dd49b9a9 (patch) | |
tree | 0e34e3c0b9efa14150786f3f7cacea506c634c92 /gdb/remote.c | |
parent | 183a2f1a42f04d5ba412642a8338ab4e38a97f28 (diff) | |
download | gdb-2644f3936c09e5883f8547c6b577fec9dd49b9a9.zip gdb-2644f3936c09e5883f8547c6b577fec9dd49b9a9.tar.gz gdb-2644f3936c09e5883f8547c6b577fec9dd49b9a9.tar.bz2 |
2001-05-14 Michael Snyder <msnyder@redhat.com>
* remote.c (remote_write_bytes): Set nr_bytes to return value of
bin2hex.
Diffstat (limited to 'gdb/remote.c')
-rw-r--r-- | gdb/remote.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/remote.c b/gdb/remote.c index 60d462c..8ec75d2 100644 --- a/gdb/remote.c +++ b/gdb/remote.c @@ -3629,8 +3629,7 @@ remote_write_bytes (CORE_ADDR memaddr, char *myaddr, int len) /* Normal mode: Send target system values byte by byte, in increasing byte addresses. Each byte is encoded as a two hex value. */ - bin2hex (myaddr, p, todo); - nr_bytes = todo; + nr_bytes = bin2hex (myaddr, p, todo); break; case PACKET_SUPPORT_UNKNOWN: internal_error (__FILE__, __LINE__, |