teak-llvm/lldb/source/Plugins/ScriptInterpreter/Python
Greg Clayton a31baf081b Fixed the python interpreter so that it correctly inherits the top IOHandler's files instead of always using stdin/out/err.
Removed lldb_private::File::Duplicate() and the copy constructor and the assignment operator that used to duplicate the file handles and made them private so no one uses them. Previously the lldb_private::File::Duplicate() function duplicated files that used file descriptors, (int) but not file streams (FILE *), so the lldb_private::File::Duplicate() function only worked some of the time. No one else excep thee ScriptInterpreterPython was using these functions, so that aren't needed nor desired. Previously every time you would drop into the python interpreter we would duplicate files, and now we avoid this file churn.

<rdar://problem/24877720>

llvm-svn: 263161
2016-03-10 20:49:32 +00:00
..
CMakeLists.txt Introduce a PythonExceptionState class. 2015-11-13 01:24:52 +00:00
lldb-python.h
PythonDataObjects.cpp Fix swig typemap for SBEvent. 2016-01-25 23:21:09 +00:00
PythonDataObjects.h Fix swig typemap for SBEvent. 2016-01-25 23:21:09 +00:00
PythonExceptionState.cpp Remove debugging code left in by accident. 2015-11-13 21:35:07 +00:00
PythonExceptionState.h Make PythonDataObjects.h work when LLDB_DISABLE_PYTHON=1 2015-11-13 17:27:20 +00:00
ScriptInterpreterPython.cpp Fixed the python interpreter so that it correctly inherits the top IOHandler's files instead of always using stdin/out/err. 2016-03-10 20:49:32 +00:00
ScriptInterpreterPython.h Fixed the python interpreter so that it correctly inherits the top IOHandler's files instead of always using stdin/out/err. 2016-03-10 20:49:32 +00:00