aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver
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
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')
-rw-r--r--gdb/gdbserver/ChangeLog4
-rw-r--r--gdb/gdbserver/remote-utils.c2
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,