summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2015-10-20 17:38:49 +0000
committerZachary Turner <zturner@google.com>2015-10-20 17:38:49 +0000
commit32064024b93d7d0b5225ac576b7684f604c352bf (patch)
tree90735d08ed9c5e80a9d01ad590becd9f8dea30d8 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h
parentcffe8caed3d1c5ba85948d70efa5bee24dd2f334 (diff)
downloadbcm5719-llvm-32064024b93d7d0b5225ac576b7684f604c352bf.tar.gz
bcm5719-llvm-32064024b93d7d0b5225ac576b7684f604c352bf.zip
Fix potential file i/o problem with python handles.
llvm-svn: 250838
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h')
-rw-r--r--lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h b/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h
index 0cdb9c054eb..23576658bd9 100644
--- a/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h
+++ b/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h
@@ -570,9 +570,9 @@ protected:
bool
GetEmbeddedInterpreterModuleObjects ();
- PythonObject m_saved_stdin;
- PythonObject m_saved_stdout;
- PythonObject m_saved_stderr;
+ PythonFile m_saved_stdin;
+ PythonFile m_saved_stdout;
+ PythonFile m_saved_stderr;
PythonObject m_main_module;
PythonObject m_lldb_module;
PythonDictionary m_session_dict;
OpenPOWER on IntegriCloud