svn commit: r363978 - in projects/clang1100-import/contrib/llvm-project/lldb: include/lldb source/Core

Dimitry Andric dim at FreeBSD.org
Thu Aug 6 19:15:33 UTC 2020


Author: dim
Date: Thu Aug  6 19:15:31 2020
New Revision: 363978
URL: https://svnweb.freebsd.org/changeset/base/363978

Log:
  Reapply r359582 (by emaste):
  
  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.

Modified:
  projects/clang1100-import/contrib/llvm-project/lldb/include/lldb/lldb-enumerations.h
  projects/clang1100-import/contrib/llvm-project/lldb/source/Core/CoreProperties.td

Modified: projects/clang1100-import/contrib/llvm-project/lldb/include/lldb/lldb-enumerations.h
==============================================================================
--- projects/clang1100-import/contrib/llvm-project/lldb/include/lldb/lldb-enumerations.h	Thu Aug  6 19:11:24 2020	(r363977)
+++ projects/clang1100-import/contrib/llvm-project/lldb/include/lldb/lldb-enumerations.h	Thu Aug  6 19:15:31 2020	(r363978)
@@ -215,7 +215,7 @@ enum ScriptLanguage {
   eScriptLanguagePython,
   eScriptLanguageLua,
   eScriptLanguageUnknown,
-  eScriptLanguageDefault = eScriptLanguagePython
+  eScriptLanguageDefault = eScriptLanguageLua
 };
 
 /// Register numbering types.

Modified: projects/clang1100-import/contrib/llvm-project/lldb/source/Core/CoreProperties.td
==============================================================================
--- projects/clang1100-import/contrib/llvm-project/lldb/source/Core/CoreProperties.td	Thu Aug  6 19:11:24 2020	(r363977)
+++ projects/clang1100-import/contrib/llvm-project/lldb/source/Core/CoreProperties.td	Thu Aug  6 19:15:31 2020	(r363978)
@@ -39,7 +39,7 @@ let Definition = "debugger" in {
     Desc<"The debugger command line prompt displayed for the user.">;
   def ScriptLanguage: Property<"script-lang", "Enum">,
     Global,
-    DefaultEnumValue<"eScriptLanguagePython">,
+    DefaultEnumValue<"eScriptLanguageLua">,
     EnumValues<"OptionEnumValues(g_language_enumerators)">,
     Desc<"The script language to be used for evaluating user-written scripts.">;
   def StopDisassemblyCount: Property<"stop-disassembly-count", "SInt64">,


More information about the svn-src-projects mailing list