summaryrefslogtreecommitdiff
path: root/gdb/remote.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@specifix.com>2001-05-25 17:46:33 +0000
committerMichael Snyder <msnyder@specifix.com>2001-05-25 17:46:33 +0000
commit549452c1258e007936f12d860646985088bc3499 (patch)
tree4dd8df0843b826a514d97bd566aac4a9cd08c63e /gdb/remote.c
parent24aa2d9df3ca526cbc775433fe2e8ea03c7a6b2e (diff)
downloadgdb-549452c1258e007936f12d860646985088bc3499.tar.gz
2001-05-25 Michael Snyder <msnyder@redhat.com>
* remote.c (remote_write_bytes): Update 'p' packet pointer.
Diffstat (limited to 'gdb/remote.c')
-rw-r--r--gdb/remote.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/remote.c b/gdb/remote.c
index d91fac2689d..e2e9f739538 100644
--- a/gdb/remote.c
+++ b/gdb/remote.c
@@ -3632,6 +3632,7 @@ remote_write_bytes (CORE_ADDR memaddr, char *myaddr, int len)
increasing byte addresses. Each byte is encoded as a two hex
value. */
nr_bytes = bin2hex (myaddr, p, todo);
+ p += 2 * nr_bytes;
break;
case PACKET_SUPPORT_UNKNOWN:
internal_error (__FILE__, __LINE__,