mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-18 05:54:26 +08:00
2001-05-14 Michael Snyder <msnyder@redhat.com>
* remote.c (remote_write_bytes): Set nr_bytes to return value of bin2hex.
This commit is contained in:
parent
183a2f1a42
commit
2644f3936c
@ -1,3 +1,8 @@
|
||||
2001-05-14 Michael Snyder <msnyder@redhat.com>
|
||||
|
||||
* remote.c (remote_write_bytes): Set nr_bytes to return value of
|
||||
bin2hex.
|
||||
|
||||
2001-05-14 Kevin Buettner <kevinb@redhat.com>
|
||||
|
||||
* solib.h (no_shared_libraries): Make declaration match definition
|
||||
|
@ -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__,
|
||||
|
Loading…
Reference in New Issue
Block a user