git: 69415879e9e4 - main - src.opts.mk: Enable LLDB for 32-bit arm

From: Ed Maste <emaste_at_FreeBSD.org>
Date: Wed, 22 Oct 2025 20:04:25 UTC
The branch main has been updated by emaste:

URL: https://cgit.FreeBSD.org/src/commit/?id=69415879e9e493cba78b3a4afb1a78d813a2eb8a

commit 69415879e9e493cba78b3a4afb1a78d813a2eb8a
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2025-09-21 14:31:05 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2025-10-22 20:03:40 +0000

    src.opts.mk: Enable LLDB for 32-bit arm
    
    It was previously disabled when we built for older 32-bit arm targets
    which lack 64-bit atomics.  As we now support armv7 at a minimum there
    is no need to disable LLDB.
    
    Sponsored by:   The FreeBSD Foundation
    Differential Revision: https://reviews.freebsd.org/D52668
---
 share/man/man5/src.conf.5 | 6 +++---
 share/mk/src.opts.mk      | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/share/man/man5/src.conf.5 b/share/man/man5/src.conf.5
index 1bb609336532..bab2c3d84abf 100644
--- a/share/man/man5/src.conf.5
+++ b/share/man/man5/src.conf.5
@@ -1,5 +1,5 @@
 .\" DO NOT EDIT-- this file is @generated by tools/build/options/makeman.
-.Dd October 1, 2025
+.Dd October 22, 2025
 .Dt SRC.CONF 5
 .Os
 .Sh NAME
@@ -956,12 +956,12 @@ Do not build LLVM's lld linker.
 Do not build the LLDB debugger.
 .Pp
 This is a default setting on
-arm/armv7 and riscv/riscv64.
+riscv/riscv64.
 .It Va WITH_LLDB
 Build the LLDB debugger.
 .Pp
 This is a default setting on
-amd64/amd64, arm64/aarch64, i386/i386, powerpc/powerpc64 and powerpc/powerpc64le.
+amd64/amd64, arm/armv7, arm64/aarch64, i386/i386, powerpc/powerpc64 and powerpc/powerpc64le.
 .It Va WITHOUT_LLD_BOOTSTRAP
 Do not build the LLD linker during the bootstrap phase of
 the build.
diff --git a/share/mk/src.opts.mk b/share/mk/src.opts.mk
index 446f78a2acf3..e10455cd4e82 100644
--- a/share/mk/src.opts.mk
+++ b/share/mk/src.opts.mk
@@ -302,7 +302,7 @@ __DEFAULT_NO_OPTIONS+=FDT
 __DEFAULT_YES_OPTIONS+=FDT
 .endif
 
-.if ${__T:Marm*} == "" && ${__T:Mriscv64*} == ""
+.if ${__T:Mriscv64*} == ""
 __DEFAULT_YES_OPTIONS+=LLDB
 .else
 __DEFAULT_NO_OPTIONS+=LLDB