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/ _______________________________________________ lldb-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits
