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 | |
parent | 4b1fedf1057b786a82bc42622d561fda8e977957 (diff) | |
download | gdb-aa6c0017798fe665d7c7268a416416f224ae8675.zip gdb-aa6c0017798fe665d7c7268a416416f224ae8675.tar.gz gdb-aa6c0017798fe665d7c7268a416416f224ae8675.tar.bz2 |
2001-05-25 Michael Snyder <msnyder@redhat.com>
* remote.c (remote_write_bytes): Update 'p' packet pointer.
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/remote.c | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e04febf..bda56c6 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2001-05-25 Michael Snyder <msnyder@redhat.com> + + * remote.c (remote_write_bytes): Update 'p' packet pointer. + 2001-05-25 Jim Blandy <jimb@redhat.com> * gnu-v2-abi.c (gnuv2_virtual_fn_field): There's no need to clear 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__, |