Page MenuHomeFreeBSD

Add a kgdb python script to extract bbl from kernel dumps
ClosedPublic

Authored by thj on Jan 28 2025, 10:56 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Aug 24, 9:22 AM
Unknown Object (File)
Sat, Aug 22, 10:59 PM
Unknown Object (File)
Sat, Aug 22, 5:04 PM
Unknown Object (File)
Fri, Aug 21, 5:31 PM
Unknown Object (File)
Thu, Aug 20, 5:07 PM
Unknown Object (File)
Tue, Aug 11, 6:06 PM
Unknown Object (File)
Tue, Aug 11, 2:00 PM
Unknown Object (File)
Mon, Aug 10, 11:16 AM
Subscribers

Details

Summary

A kgdb script allows us to be relatively resilient to kernel structure
changes, with a lower burden for updates when they happen than a C tool.

tuexen@ requested we ship this script in a source distribution. Making
it easier for users to extract useful debugging information from a core.
It requires kgdb and python3 and would ideally be a lldb lua script, but
there is more work needed on lldb lua before we can do that.

Add the script as is. A single script we could run against a core would
be nice, but I don't want to let that block making the tool more
available.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable