unsubscribe@freebsd.org> 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