aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/remote-utils.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2007-12-06 14:21:26 +0000
committerDaniel Jacobowitz <drow@false.org>2007-12-06 14:21:26 +0000
commitb79d787e44c2398b00ad635735beda4efa6f4639 (patch)
treea993b9f69cb79f89579cdde1e682fcacd746345f /gdb/gdbserver/remote-utils.c
parent45e8c884b549f292b89a4c099a5f843745feeaaf (diff)
downloadgdb-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/gdbserver/remote-utils.c')
-rw-r--r--gdb/gdbserver/remote-utils.c2
1 files changed, 1 insertions, 1 deletions
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,