diff options
author | Michael Snyder <msnyder@vmware.com> | 2001-05-25 17:46:33 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2001-05-25 17:46:33 +0000 |
commit | aa6c0017798fe665d7c7268a416416f224ae8675 (patch) | |
tree | 94e407233d4b0a00af8588669ae0281e3d3fa377 /gdb/remote.c | |
parent | 4b1fedf1057b786a82bc42622d561fda8e977957 (diff) | |
download | fsf-binutils-gdb-aa6c0017798fe665d7c7268a416416f224ae8675.zip fsf-binutils-gdb-aa6c0017798fe665d7c7268a416416f224ae8675.tar.gz fsf-binutils-gdb-aa6c0017798fe665d7c7268a416416f224ae8675.tar.bz2 |
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.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/remote.c b/gdb/remote.c index d91fac2..e2e9f73 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__, |