summaryrefslogtreecommitdiffstats
path: root/lldb/tools/lldb-mi/MICmnStreamStdinLinux.h
diff options
context:
space:
mode:
authorHafiz Abid Qadeer <hafiz_abid@mentor.com>2015-02-10 17:10:39 +0000
committerHafiz Abid Qadeer <hafiz_abid@mentor.com>2015-02-10 17:10:39 +0000
commite73e82f2beb4d25c9007a0878ca131959ec1f1b2 (patch)
tree8d5c3c1141ffd6fdcbf07392e53035106763f9a5 /lldb/tools/lldb-mi/MICmnStreamStdinLinux.h
parent404d5b242de1d849bf048a40a702d2dd04abda10 (diff)
downloadbcm5719-llvm-e73e82f2beb4d25c9007a0878ca131959ec1f1b2.tar.gz
bcm5719-llvm-e73e82f2beb4d25c9007a0878ca131959ec1f1b2.zip
Fix multiple problems of lldb-mi blocking on input monitoring and needing a return.
Summary: One of the problem is reported here. http://llvm.org/bugs/show_bug.cgi?id=22411 A fix was committed for this problem that works only for OSX. This revision extends that fix to other system. The select system call has some limitation with multi-threaded application which have been addresses here. LLDB-mi exits if quit command is given but needs an extra retur if -gdb-exit is given. That issue has also been addressed. Reviewers: ki.stfu, emaste Reviewed By: ki.stfu Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D7529 llvm-svn: 228709
Diffstat (limited to 'lldb/tools/lldb-mi/MICmnStreamStdinLinux.h')
-rw-r--r--lldb/tools/lldb-mi/MICmnStreamStdinLinux.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/tools/lldb-mi/MICmnStreamStdinLinux.h b/lldb/tools/lldb-mi/MICmnStreamStdinLinux.h
index edac94034f5..78ca2db6f87 100644
--- a/lldb/tools/lldb-mi/MICmnStreamStdinLinux.h
+++ b/lldb/tools/lldb-mi/MICmnStreamStdinLinux.h
@@ -69,4 +69,5 @@ class CMICmnStreamStdinLinux : public CMICmnBase, public CMICmnStreamStdin::IOSS
const MIuint m_constBufferSize;
FILE *m_pStdin;
MIchar *m_pCmdBuffer;
+ bool m_waitForInput;
};
OpenPOWER on IntegriCloud