Post #755427
2026-02-18 20:38 UTC
My work on LLDB’s FreeBSDKernel plugin:
https://minsoo.io/future-of-the-freebsd-kernel-lldb-plugin/
The name FreeBSDKernel will be changed to FreeBSD-core, since it only provides functionalities to examine core dumps. Traditional live kernel debugging is done through gdb-remote plugin with FreeBSD’s gdb stub.
Replies (1)
-
@minsoochoo@mastodon.bsd.cafe 2026-02-18 23:10
FreeBSD has a patch that converts minidump to ELF core dump: https://reviews.freebsd.org/D19253 Instead of reimplenting kvm in C++ for LLDB, how about converting minidump to ELF core dump during savecore(8) and debugging the dump with FreeBSDKernel plugin which inherits classes from ProcessElfCore/ThreadElfCore? This also opens door for cross-platform kernel dump debugging on GDB.