From owner-svn-src-head@freebsd.org Thu Apr 2 21:08:36 2020 Return-Path: Delivered-To: svn-src-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9B7232651D2; Thu, 2 Apr 2020 21:08:36 +0000 (UTC) (envelope-from emaste@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48tbJg5fH3z3GcB; Thu, 2 Apr 2020 21:08:35 +0000 (UTC) (envelope-from emaste@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id F337C1FF98; Thu, 2 Apr 2020 21:08:28 +0000 (UTC) (envelope-from emaste@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 032L8S68079313; Thu, 2 Apr 2020 21:08:28 GMT (envelope-from emaste@FreeBSD.org) Received: (from emaste@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 032L8SAR079311; Thu, 2 Apr 2020 21:08:28 GMT (envelope-from emaste@FreeBSD.org) Message-Id: <202004022108.032L8SAR079311@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: emaste set sender to emaste@FreeBSD.org using -f From: Ed Maste Date: Thu, 2 Apr 2020 21:08:28 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r359582 - in head/contrib/llvm-project/lldb: include/lldb source/Core X-SVN-Group: head X-SVN-Commit-Author: emaste X-SVN-Commit-Paths: in head/contrib/llvm-project/lldb: include/lldb source/Core X-SVN-Commit-Revision: 359582 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Apr 2020 21:08:36 -0000 Author: emaste Date: Thu Apr 2 21:08:28 2020 New Revision: 359582 URL: https://svnweb.freebsd.org/changeset/base/359582 Log: 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: head/contrib/llvm-project/lldb/include/lldb/lldb-enumerations.h head/contrib/llvm-project/lldb/source/Core/CoreProperties.td Modified: head/contrib/llvm-project/lldb/include/lldb/lldb-enumerations.h ============================================================================== --- head/contrib/llvm-project/lldb/include/lldb/lldb-enumerations.h Thu Apr 2 20:47:51 2020 (r359581) +++ head/contrib/llvm-project/lldb/include/lldb/lldb-enumerations.h Thu Apr 2 21:08:28 2020 (r359582) @@ -215,7 +215,7 @@ enum ScriptLanguage { eScriptLanguagePython, eScriptLanguageLua, eScriptLanguageUnknown, - eScriptLanguageDefault = eScriptLanguagePython + eScriptLanguageDefault = eScriptLanguageLua }; /// Register numbering types. Modified: head/contrib/llvm-project/lldb/source/Core/CoreProperties.td ============================================================================== --- head/contrib/llvm-project/lldb/source/Core/CoreProperties.td Thu Apr 2 20:47:51 2020 (r359581) +++ head/contrib/llvm-project/lldb/source/Core/CoreProperties.td Thu Apr 2 21:08:28 2020 (r359582) @@ -35,7 +35,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">,