[Lldb-commits] [lldb] r212856 - Remove assert now that we have a 'i' character that might come through as well as the 'q' character on the interrupt pipe.

Greg Clayton gclayton at apple.com
Fri Jul 11 16:15:12 PDT 2014


Author: gclayton
Date: Fri Jul 11 18:15:11 2014
New Revision: 212856

URL: http://llvm.org/viewvc/llvm-project?rev=212856&view=rev
Log:
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>


Modified:
    lldb/trunk/source/Core/ConnectionFileDescriptor.cpp

Modified: lldb/trunk/source/Core/ConnectionFileDescriptor.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Core/ConnectionFileDescriptor.cpp?rev=212856&r1=212855&r2=212856&view=diff
==============================================================================
--- lldb/trunk/source/Core/ConnectionFileDescriptor.cpp (original)
+++ lldb/trunk/source/Core/ConnectionFileDescriptor.cpp Fri Jul 11 18:15:11 2014
@@ -985,7 +985,6 @@ ConnectionFileDescriptor::BytesAvailable
                     {
                         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.",





More information about the lldb-commits mailing list