summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/ConnectionFileDescriptor.cpp
diff options
context:
space:
mode:
authorCaroline Tice <ctice@apple.com>2010-11-16 05:07:41 +0000
committerCaroline Tice <ctice@apple.com>2010-11-16 05:07:41 +0000
commitef5c6d02f54ee66cbe467e7de6fc38a274ebe943 (patch)
tree1ad38da51946018d15fa004ed35a1567d63b8f99 /lldb/source/Core/ConnectionFileDescriptor.cpp
parent7d19efd6ff3f95faa8be3b28425aa01f23e9aa29 (diff)
downloadbcm5719-llvm-ef5c6d02f54ee66cbe467e7de6fc38a274ebe943.tar.gz
bcm5719-llvm-ef5c6d02f54ee66cbe467e7de6fc38a274ebe943.zip
Make processes use InputReaders for their input. Move the process
ReadThread stuff into the main Process class (out of the Process Plugins). This has the (intended) side effect of disabling the command line tool from reading input/commands while the process is running (the input is directed to the running process rather than to the command interpreter). llvm-svn: 119329
Diffstat (limited to 'lldb/source/Core/ConnectionFileDescriptor.cpp')
-rw-r--r--lldb/source/Core/ConnectionFileDescriptor.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/source/Core/ConnectionFileDescriptor.cpp b/lldb/source/Core/ConnectionFileDescriptor.cpp
index 8029ad3b643..96d70bc1012 100644
--- a/lldb/source/Core/ConnectionFileDescriptor.cpp
+++ b/lldb/source/Core/ConnectionFileDescriptor.cpp
@@ -38,6 +38,7 @@ using namespace lldb_private;
ConnectionFileDescriptor::ConnectionFileDescriptor () :
Connection(),
m_fd (-1),
+ m_is_socket (false),
m_should_close_fd (false)
{
lldb_private::LogIfAnyCategoriesSet (LIBLLDB_LOG_CONNECTION | LIBLLDB_LOG_OBJECT,
@@ -48,6 +49,7 @@ ConnectionFileDescriptor::ConnectionFileDescriptor () :
ConnectionFileDescriptor::ConnectionFileDescriptor (int fd, bool owns_fd) :
Connection(),
m_fd (fd),
+ m_is_socket (false),
m_should_close_fd (owns_fd)
{
lldb_private::LogIfAnyCategoriesSet (LIBLLDB_LOG_CONNECTION | LIBLLDB_LOG_OBJECT,
OpenPOWER on IntegriCloud