From nobody Fri Apr 10 11:51:28 2026 X-Original-To: dev-commits-doc-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4fsZrw4SvVz6YZqb for ; Fri, 10 Apr 2026 11:51:28 +0000 (UTC) (envelope-from git@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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4fsZrw1020z3G4L for ; Fri, 10 Apr 2026 11:51:28 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1775821888; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Bu9S5JvQYbfubIVefF2DRZzvyfHlJ7am4Utcej4sPDg=; b=F1MgoGzAEDVLY8dyeaNH7UC/GVAKV5gf6GcbD1hcXrhw+razGfOA3yLEg6uau6fZ3Asbb5 YsHqSGDflQFq2OsqTpOxV5dkRQoK/CBOQKqhTxA7cpOfT/x6Durkbdzet7YQuifFciTHo9 qOwtJFAE0d+ZzOyoqOUdyXxVhY6C+1bpiZftkBdeAZuS4L86sWRx65rohJU75OBs5J6mCC Flduw9nir9THQYSJk2tsh3XmKJI50SitlKSPTVt90Cq2gYKTPGH5UM4nVCy1D/cVnuxY12 rexg1b2ij3PP6eXpG1lIZwuKSMbVmwfT5w1MxOPjiJq4EzFMHizzLzftSJJEeQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1775821888; a=rsa-sha256; cv=none; b=ax7Vm77Mdn+vFOvpNxi1lRAHBnBofJ7MUzi+NZVuJr+YjadtK/0+QoEJwO0dpWJ+wGtghR erO0s/RDVrKHTtC/wwsYTSdXBGsiuowd1p++OsLiaYPUG2NUiA7bWFlAGA/8B4tEUpQrpZ 4Xl/5vOuEzXYRpyuZYQD3WXU+46SVRA/zMyxkbTj0TyOjSwrKFhTvcNetbZaQ6UrzxHxew FFGAuvTYKumoeB60WnMMKU4DDFUB6VhJupMaQJnCpsZr4S+yLBM9BZMdIRHN9MkorkOLbP zyXNI2BovtAmeSf3IZog4BlFaYBb8r4rOjOY6Eh6PZ4WycwnlEIT0T53PE7Sjg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1775821888; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Bu9S5JvQYbfubIVefF2DRZzvyfHlJ7am4Utcej4sPDg=; b=AFHQ6lE2HjFwEzLd3UlzPIv2xQrzAKaPnDliL8ICm5orUBS/buNhghqmbR/ORetOWqlGSN 4jbotoBbBRU/+kXOs+cjhAlSB75MbzZm6Do38YiAgIlWPaKUDxsZj5g9xvejTArKCuiiC9 rWfFnQ+WjcVRhVShICfiqiKFm+FLi8SMJbJFMxcTzxJJ1oFvnRGiJv3hGmr+Q5FJMbVerN oEGdrugtT+dJelUeD5AqpxIEShTbY+SdKeAdN9eu1yPbXJUW96hHPKedJ3PvAyFaJBB7Ut N2BmfbyafTvWI+ZDEB8K0oVbCD0lqvhwUXR7oc3RYYB7wQ2aCgm8FHhOcMBjCA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4fsZrw0b5dzjrT for ; Fri, 10 Apr 2026 11:51:28 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 261a6 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Fri, 10 Apr 2026 11:51:28 +0000 To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org Cc: Minsoo Choo From: Lorenzo Salvadore Subject: git: 9ba32265d1 - main - status/2026Q1/lldb.adoc: Add report List-Id: Commit messages for all branches of the doc repository List-Archive: https://lists.freebsd.org/archives/dev-commits-doc-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-doc-all@freebsd.org Sender: owner-dev-commits-doc-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: salvadore X-Git-Repository: doc X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 9ba32265d1b3e50074d12355e780b49fa3693975 Auto-Submitted: auto-generated Date: Fri, 10 Apr 2026 11:51:28 +0000 Message-Id: <69d8e440.261a6.36149678@gitrepo.freebsd.org> The branch main has been updated by salvadore: URL: https://cgit.FreeBSD.org/doc/commit/?id=9ba32265d1b3e50074d12355e780b49fa3693975 commit 9ba32265d1b3e50074d12355e780b49fa3693975 Author: Minsoo Choo AuthorDate: 2026-03-31 11:05:34 +0000 Commit: Lorenzo Salvadore CommitDate: 2026-04-10 11:50:53 +0000 status/2026Q1/lldb.adoc: Add report Signed-off-by: Minsoo Choo Pull Request: https://github.com/freebsd/freebsd-doc/pull/639 --- .../en/status/report-2026-01-2026-03/lldb.adoc | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/website/content/en/status/report-2026-01-2026-03/lldb.adoc b/website/content/en/status/report-2026-01-2026-03/lldb.adoc new file mode 100644 index 0000000000..31d9984487 --- /dev/null +++ b/website/content/en/status/report-2026-01-2026-03/lldb.adoc @@ -0,0 +1,28 @@ +=== LLDB Improvement on FreeBSD + +Links: + +link:https://github.com/llvm/llvm-project/issues/180061[LLVM Meta Issue] URL: link:https://github.com/llvm/llvm-project/issues/180061[] + + +Contact: Minsoo Choo + +Due to the licensing issue with GDB (GPLv3), FreeBSD has adopted LLVM, including LLDB, in its base system since FreeBSD 10.0. +However, most kernel developers still rely on KGDB, a patched version of a recent GDB, to debug the kernel. +This is partly a matter of personal preference (some find GDB's command syntax more comfortable), but there are also practical reasons: LLDB lacks several features that KGDB provides (see below for details) and has insufficient support even in the base system. +My work aims to achieve feature parity with KGDB by the end of April. + +The improvements I have made so far are listed in the link above. +Note that small bug fixes are not included in that list. + +The following are not supported: i386, arm, powerpc32, powerpc64be, and mips*. +FreeBSD 13 and earlier are also unsupported. +The targeted LLVM version is 23, although this work may be backported to FreeBSD's in-tree LLVM and MFCed to stable/14 and stable/15 after mailto:dim@FreeBSD.org[Dimitry Andric] finishes his LLVM 21 MFV. + +I started this work in late January, and it is projected to be complete by April. +Beyond feature parity, there are further possible improvements, such as minidump2elf support and adding UUIDs to kernel and core dump ELF headers. + +The biggest blocker for this project is a lack of reviewers knowledgeable in both FreeBSD internals and KGDB internals. +If you have time, please provide feedback on my pull requests. +Testers on non-x86 and non-arm64 machines would also be very welcome. +If you find any issues, please file a bug and ping me on llvm/llvm-project. + +Sponsor: The FreeBSD Foundation