From 744959b9c9d7700a567926a4829f2e8cc6dc3cec Mon Sep 17 00:00:00 2001 From: Enrico Granata Date: Wed, 13 Jan 2016 18:11:45 +0000 Subject: Fix an issue where scripted commands would not actually print any of their output if an immediate output file was set in the result object via a Python file object Fixes rdar://24130303 llvm-svn: 257644 --- lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h') diff --git a/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h b/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h index 06264b66c28..6d5a11bd7d9 100644 --- a/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h +++ b/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h @@ -525,6 +525,8 @@ class PythonFile : public PythonObject void Reset(PyRefType type, PyObject *py_obj) override; void Reset(File &file, const char *mode); + static uint32_t GetOptionsFromMode(llvm::StringRef mode); + bool GetUnderlyingFile(File &file) const; }; -- cgit v1.2.3