diff options
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__, |