2007-12-06 Mick Davis <mickd@goanna.iinet.net.au>
authorDaniel Jacobowitz <drow@false.org>
Thu, 6 Dec 2007 14:21:26 +0000 (14:21 +0000)
committerDaniel Jacobowitz <drow@false.org>
Thu, 6 Dec 2007 14:21:26 +0000 (14:21 +0000)
* remote-utils.c (readchar): Allow binary data in received messages.

gdb/gdbserver/ChangeLog
gdb/gdbserver/remote-utils.c

index 314ab0bfad7cbc5abe42b02391164e7df07790f5..0fbf9fd8e2195416e237ec167c0dbe26bfeabeef 100644 (file)
@@ -1,3 +1,7 @@
+2007-12-06  Mick Davis  <mickd@goanna.iinet.net.au>
+
+       * remote-utils.c (readchar): Allow binary data in received messages.
+
 2007-12-03  Pedro Alves  <pedro_alves@portugalmail.pt>
 
        * win32-low.c (attaching): New global.
index 667ac2d8d77829b78cc49b0b1a9624b9ccd6a7e1..593c7af359b78141137c057225b715a4bfc64dae 100644 (file)
@@ -722,7 +722,7 @@ readchar (void)
 
   bufp = buf;
   bufcnt--;
-  return *bufp++ & 0x7f;
+  return *bufp++;
 }
 
 /* Read a packet from the remote machine, with error checking,