From aa6c0017798fe665d7c7268a416416f224ae8675 Mon Sep 17 00:00:00 2001 From: Michael Snyder Date: Fri, 25 May 2001 17:46:33 +0000 Subject: [PATCH] 2001-05-25 Michael Snyder * remote.c (remote_write_bytes): Update 'p' packet pointer. --- gdb/ChangeLog | 4 ++++ gdb/remote.c | 1 + 2 files changed, 5 insertions(+) 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 + + * remote.c (remote_write_bytes): Update 'p' packet pointer. + 2001-05-25 Jim Blandy * 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__, -- 2.7.4