diff options
author | Daniel Jacobowitz <drow@false.org> | 2007-12-06 14:21:26 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2007-12-06 14:21:26 +0000 |
commit | b79d787e44c2398b00ad635735beda4efa6f4639 (patch) | |
tree | a993b9f69cb79f89579cdde1e682fcacd746345f /gdb | |
parent | 45e8c884b549f292b89a4c099a5f843745feeaaf (diff) | |
download | gdb-b79d787e44c2398b00ad635735beda4efa6f4639.zip gdb-b79d787e44c2398b00ad635735beda4efa6f4639.tar.gz gdb-b79d787e44c2398b00ad635735beda4efa6f4639.tar.bz2 |
2007-12-06 Mick Davis <mickd@goanna.iinet.net.au>
* remote-utils.c (readchar): Allow binary data in received messages.
Diffstat (limited to 'gdb')
-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, |