diff options
-rw-r--r-- | gdb/gdbserver/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/gdbserver/remote-utils.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 314ab0b..0fbf9fd 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -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. diff --git a/gdb/gdbserver/remote-utils.c b/gdb/gdbserver/remote-utils.c index 667ac2d..593c7af 100644 --- a/gdb/gdbserver/remote-utils.c +++ b/gdb/gdbserver/remote-utils.c @@ -722,7 +722,7 @@ readchar (void) bufp = buf; bufcnt--; - return *bufp++ & 0x7f; + return *bufp++; } /* Read a packet from the remote machine, with error checking, |