FreeBSD has a patch that converts minidump to ELF core dump: 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.

0

If you have a fediverse account, you can quote this note from your own instance. Search https://mastodon.bsd.cafe/users/minsoochoo/statuses/116094155417913114 on your instance and quote it. (Note that quoting is not supported in Mastodon.)