2001-05-14 Michael Snyder <msnyder@redhat.com>
authorMichael Snyder <msnyder@vmware.com>
Mon, 14 May 2001 18:31:35 +0000 (18:31 +0000)
committerMichael Snyder <msnyder@vmware.com>
Mon, 14 May 2001 18:31:35 +0000 (18:31 +0000)
* remote.c (remote_write_bytes): Set nr_bytes to return value of
bin2hex.

gdb/ChangeLog
gdb/remote.c

index 0cce95e59435bbf9d2aa95a057f944416f832897..101954b58ed76b69f1ac88f47c1ee7715ac574bf 100644 (file)
@@ -1,3 +1,8 @@
+2001-05-14  Michael Snyder  <msnyder@redhat.com>
+
+       * remote.c (remote_write_bytes): Set nr_bytes to return value of
+       bin2hex.
+       
 2001-05-14  Kevin Buettner  <kevinb@redhat.com>
 
        * solib.h (no_shared_libraries): Make declaration match definition
index 60d462c166a3c256832db58593eea99a34186f67..8ec75d2558ca9c1ecbc83dcbfd8031b8692dde7f 100644 (file)
@@ -3629,8 +3629,7 @@ remote_write_bytes (CORE_ADDR memaddr, char *myaddr, int len)
       /* Normal mode: Send target system values byte by byte, in
         increasing byte addresses.  Each byte is encoded as a two hex
         value.  */
-      bin2hex (myaddr, p, todo);
-      nr_bytes = todo;
+      nr_bytes = bin2hex (myaddr, p, todo);
       break;
     case PACKET_SUPPORT_UNKNOWN:
       internal_error (__FILE__, __LINE__,
This page took 0.028793 seconds and 4 git commands to generate.