llvm-project/lldb/source
Todd Fiala 4262828132 Fix on Linux for ReadThread lingering after inferior exits
See this email thread:
http://lists.cs.uiuc.edu/pipermail/lldb-commits/Week-of-Mon-20140818/012487.html

This patch handles the case where the inferior process exits but leaves the ReadThread in a continuous loop reading from the communication pipe.  On MacOSX, the ReadThread exits when it receives a 0 return value from the read due to EOF.  On Linux the read returns -1 and sets errno to EIO error, this does not currently cause the thread to shutdown so it continues to read from the comm.   In Communication::ReadThread I added a handler for eConnectionStatusError to disconnect and shutdown the thread.

Change by Alex Pepper.

llvm-svn: 216194
2014-08-21 17:16:26 +00:00
..
API Buffer not null terminated CID 1094354 2014-08-19 12:13:14 +00:00
Breakpoint Fix typos. 2014-07-01 21:22:11 +00:00
Commands Fixed a typo. 2014-08-21 16:47:01 +00:00
Core Fix on Linux for ReadThread lingering after inferior exits 2014-08-21 17:16:26 +00:00
DataFormatters Refactor the hardcoded formatters facility to use sequences of lambdas - still no feature change as none are present now, but this feels cleaner. Also, hardcoded formatters do not need to be per-type, so disable caching thereof 2014-08-19 18:47:58 +00:00
Expression Move some Host logic into HostInfo class. 2014-08-19 17:18:29 +00:00
Host Revert "Avoid global contstructors and place static variables 2014-08-20 20:53:05 +00:00
Interpreter Remove another of the llvm given warnings from the list of 2014-08-15 22:23:40 +00:00
Plugins Add software breakpoint support for Linux aarch64. 2014-08-21 16:42:31 +00:00
Symbol This is a fairly bulky patch, but a lot of it involves rearranging existing code 2014-08-19 21:46:37 +00:00
Target If an executable file is specified with no architecture and it contains more than one architecture select a compatible platform if all architectures match the same platform. 2014-08-20 18:13:03 +00:00
Utility StringLexer: Fix CMake build 2014-08-07 20:48:39 +00:00
CMakeLists.txt In the CMake build, convert lldbHost to be a single static library. 2014-08-15 23:50:36 +00:00
Makefile Make lldb build with Makefiles on OS X. 2014-01-18 08:05:32 +00:00
lldb-log.cpp Fix typos. 2014-07-01 21:22:11 +00:00
lldb.cpp Teach LLDB about Windows processes. 2014-07-28 16:45:18 +00:00