summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/ConnectionFileDescriptor.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2014-07-11 23:15:11 +0000
committerGreg Clayton <gclayton@apple.com>2014-07-11 23:15:11 +0000
commit7248ac026c3431771c29b72a666bc476ad5fa4b6 (patch)
tree0055d96207fb7f54a0064f433b59f1af373ee893 /lldb/source/Core/ConnectionFileDescriptor.cpp
parentd755e9f7300c138485f03f47f904aacb23fa09fb (diff)
downloadbcm5719-llvm-7248ac026c3431771c29b72a666bc476ad5fa4b6.tar.gz
bcm5719-llvm-7248ac026c3431771c29b72a666bc476ad5fa4b6.zip
Remove assert now that we have a 'i' character that might come through as well as the 'q' character on the interrupt pipe.
<rdar://problem/15840749> llvm-svn: 212856
Diffstat (limited to 'lldb/source/Core/ConnectionFileDescriptor.cpp')
-rw-r--r--lldb/source/Core/ConnectionFileDescriptor.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lldb/source/Core/ConnectionFileDescriptor.cpp b/lldb/source/Core/ConnectionFileDescriptor.cpp
index 2f1d16ffcf8..849c1991b93 100644
--- a/lldb/source/Core/ConnectionFileDescriptor.cpp
+++ b/lldb/source/Core/ConnectionFileDescriptor.cpp
@@ -985,7 +985,6 @@ ConnectionFileDescriptor::BytesAvailable (uint32_t timeout_usec, Error *error_pt
{
bytes_read = ::read (pipe_fd, buffer, sizeof(buffer));
} while (bytes_read < 0 && errno == EINTR);
- assert (bytes_read == 1 && buffer[0] == 'q');
if (log)
log->Printf("%p ConnectionFileDescriptor::BytesAvailable() got data: %*s from the command channel.",
OpenPOWER on IntegriCloud