[Lldb-commits] [PATCH] Fix bug where an additional O packet is sent after inferior exits.
Chaoren Lin
chaorenl at google.com
Tue Apr 7 11:48:01 PDT 2015
REPOSITORY
rL LLVM
http://reviews.llvm.org/D8850
Files:
lldb/trunk/source/Host/posix/ConnectionFileDescriptorPosix.cpp
Index: lldb/trunk/source/Host/posix/ConnectionFileDescriptorPosix.cpp
===================================================================
--- lldb/trunk/source/Host/posix/ConnectionFileDescriptorPosix.cpp
+++ lldb/trunk/source/Host/posix/ConnectionFileDescriptorPosix.cpp
@@ -386,8 +386,12 @@
status = eConnectionStatusTimedOut;
return 0;
}
- else if (m_shutting_down)
- return eConnectionStatusError;
+
+ if (m_shutting_down)
+ {
+ status = eConnectionStatusError;
+ return 0;
+ }
status = BytesAvailable(timeout_usec, error_ptr);
if (status != eConnectionStatusSuccess)
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D8850.23358.patch
Type: text/x-patch
Size: 640 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150407/05e5c11c/attachment.bin>
More information about the lldb-commits
mailing list