Post #2979139
2026-02-18 23:10 UTC
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.
Replies (1)
-
@jdevlieghere@mastodon.social 2026-02-19 05:35
@minsoochoo@mastodon.bsd.cafe Given that LLDB has a minidump plugin, can’t we just load them directly? Is there anything missing from the minidump that would need to be added to the ELF core?