projects
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* remote.c (remote_write_bytes): Set nr_bytes before returning it.
[binutils-gdb.git]
/
gdb
/
remote.c
diff --git
a/gdb/remote.c
b/gdb/remote.c
index 7cbe878c1dd8c71c63d4a836213ce541b92b25f1..60d462c166a3c256832db58593eea99a34186f67 100644
(file)
--- a/
gdb/remote.c
+++ b/
gdb/remote.c
@@
-3630,6
+3630,7
@@
remote_write_bytes (CORE_ADDR memaddr, char *myaddr, int len)
increasing byte addresses. Each byte is encoded as a two hex
value. */
bin2hex (myaddr, p, todo);
+ nr_bytes = todo;
break;
case PACKET_SUPPORT_UNKNOWN:
internal_error (__FILE__, __LINE__,