From b79d787e44c2398b00ad635735beda4efa6f4639 Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Thu, 6 Dec 2007 14:21:26 +0000 Subject: [PATCH] 2007-12-06 Mick Davis * remote-utils.c (readchar): Allow binary data in received messages. --- gdb/gdbserver/ChangeLog | 4 ++++ gdb/gdbserver/remote-utils.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 314ab0bfad7..0fbf9fd8e21 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,7 @@ +2007-12-06 Mick Davis + + * remote-utils.c (readchar): Allow binary data in received messages. + 2007-12-03 Pedro Alves * win32-low.c (attaching): New global. diff --git a/gdb/gdbserver/remote-utils.c b/gdb/gdbserver/remote-utils.c index 667ac2d8d77..593c7af359b 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, -- 2.30.2