[Lldb-commits] [PATCH] Python Split [2/2] - Content change
Greg Clayton
clayborg at gmail.com
Thu Mar 5 15:27:34 PST 2015
ScriptInterpreter will need to keep a map of language to static create functions (ScriptInterpreterPython::CreateInstance()) so it can create the interpreter when needed. So the SBCommandInterpreter::InitializeScriptInterpreter() would:
1 - initialize all supported languages (ScriptInterpreterPython::Initialize())
2 - call ScriptInterpreter::Initialize() which would finalize the current script interpreters and select a default one for execution by checking the setting:
(lldb) settings show script-lang
script-lang (enum) = python
The default language is gettable using Debugger::GetScriptLanguage().
http://reviews.llvm.org/D7957
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
More information about the lldb-commits
mailing list