summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/ConnectionFileDescriptor.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2011-05-29 00:45:15 +0000
committerGreg Clayton <gclayton@apple.com>2011-05-29 00:45:15 +0000
commitc0ea046a80c58617303e20e0359463849dfe2dc2 (patch)
treee7aeb589d82c9d9d487b272ae39ac6e9f1ec9387 /lldb/source/Core/ConnectionFileDescriptor.cpp
parent9b382dde92659070086dd5245d3484f49c0c14f7 (diff)
downloadbcm5719-llvm-c0ea046a80c58617303e20e0359463849dfe2dc2.tar.gz
bcm5719-llvm-c0ea046a80c58617303e20e0359463849dfe2dc2.zip
Fixed an issue that could cause LLDB to spin indefinitely.
llvm-svn: 132270
Diffstat (limited to 'lldb/source/Core/ConnectionFileDescriptor.cpp')
-rw-r--r--lldb/source/Core/ConnectionFileDescriptor.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/source/Core/ConnectionFileDescriptor.cpp b/lldb/source/Core/ConnectionFileDescriptor.cpp
index 80deb09fe59..5d21897cb63 100644
--- a/lldb/source/Core/ConnectionFileDescriptor.cpp
+++ b/lldb/source/Core/ConnectionFileDescriptor.cpp
@@ -245,6 +245,7 @@ ConnectionFileDescriptor::Read (void *dst, size_t dst_len, ConnectionStatus &sta
status = eConnectionStatusError;
break; // Break to close....
+ case ENOENT: // no such file or directory
case EBADF: // fildes is not a valid file or socket descriptor open for reading.
case ENXIO: // An action is requested of a device that does not exist..
// A requested action cannot be performed by the device.
OpenPOWER on IntegriCloud