lldb: use lua as the default script language
In the FreeBSD base system we do not have Python support in lldb, but will have Lua support. Make Lua the default. This needs to be made into a configure-time option; that is being discussed upstream and will appear in a future lldb import. For now carry this change as a tiny patch to our copy of lldb.
This commit is contained in:
parent
1e9ee2b596
commit
2b99119f6d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=359582
@ -215,7 +215,7 @@ enum ScriptLanguage {
|
|||||||
eScriptLanguagePython,
|
eScriptLanguagePython,
|
||||||
eScriptLanguageLua,
|
eScriptLanguageLua,
|
||||||
eScriptLanguageUnknown,
|
eScriptLanguageUnknown,
|
||||||
eScriptLanguageDefault = eScriptLanguagePython
|
eScriptLanguageDefault = eScriptLanguageLua
|
||||||
};
|
};
|
||||||
|
|
||||||
/// Register numbering types.
|
/// Register numbering types.
|
||||||
|
@ -35,7 +35,7 @@ let Definition = "debugger" in {
|
|||||||
Desc<"The debugger command line prompt displayed for the user.">;
|
Desc<"The debugger command line prompt displayed for the user.">;
|
||||||
def ScriptLanguage: Property<"script-lang", "Enum">,
|
def ScriptLanguage: Property<"script-lang", "Enum">,
|
||||||
Global,
|
Global,
|
||||||
DefaultEnumValue<"eScriptLanguagePython">,
|
DefaultEnumValue<"eScriptLanguageLua">,
|
||||||
EnumValues<"OptionEnumValues(g_language_enumerators)">,
|
EnumValues<"OptionEnumValues(g_language_enumerators)">,
|
||||||
Desc<"The script language to be used for evaluating user-written scripts.">;
|
Desc<"The script language to be used for evaluating user-written scripts.">;
|
||||||
def StopDisassemblyCount: Property<"stop-disassembly-count", "SInt64">,
|
def StopDisassemblyCount: Property<"stop-disassembly-count", "SInt64">,
|
||||||
|
Loading…
Reference in New Issue
Block a user