My work on LLDB’s FreeBSDKernel plugin:https://minsoo.io/future-of-the-freebsd-kernel-lldb-plugin/
-
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.
-
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.
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.
-
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.
@minsoochoo 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?
-
undefined stefano@mastodon.bsd.cafe shared this topic on