diff options
author | Caroline Tice <ctice@apple.com> | 2011-01-14 00:29:16 +0000 |
---|---|---|
committer | Caroline Tice <ctice@apple.com> | 2011-01-14 00:29:16 +0000 |
commit | 2f88aadff1276ea99569657b8424776167ec5a34 (patch) | |
tree | 698f290fb0c66494fd953537ff1aa2e3ddd54602 /lldb/source/Interpreter/CommandObjectScript.h | |
parent | 0c34cb429ed90af168b1c2a8384401feb2e0085f (diff) | |
download | bcm5719-llvm-2f88aadff1276ea99569657b8424776167ec5a34.tar.gz bcm5719-llvm-2f88aadff1276ea99569657b8424776167ec5a34.zip |
Split up the Python script interpreter code to allow multiple script interpreter objects to
exist within the same process (one script interpreter object per debugger object). The
python script interpreter objects are all using the same global Python script interpreter;
they use separate dictionaries to keep their data separate, and mutex's to prevent any object
attempting to use the global Python interpreter when another object is already using it.
llvm-svn: 123415
Diffstat (limited to 'lldb/source/Interpreter/CommandObjectScript.h')
-rw-r--r-- | lldb/source/Interpreter/CommandObjectScript.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lldb/source/Interpreter/CommandObjectScript.h b/lldb/source/Interpreter/CommandObjectScript.h index eacd3a6b3ea..b9fa759bb7b 100644 --- a/lldb/source/Interpreter/CommandObjectScript.h +++ b/lldb/source/Interpreter/CommandObjectScript.h @@ -42,12 +42,8 @@ public: Execute (Args& command, CommandReturnObject &result); - ScriptInterpreter * - GetInterpreter (); - private: lldb::ScriptLanguage m_script_lang; - std::auto_ptr<ScriptInterpreter> m_interpreter_ap; }; } // namespace lldb_private |