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)
Tue, Dec 30, 10:44 AM
Unknown Object (File)
Sat, Dec 27, 12:46 PM
Unknown Object (File)
Mon, Dec 8, 2:24 PM
Unknown Object (File)
Nov 30 2025, 12:42 PM
Unknown Object (File)
Nov 30 2025, 2:21 AM
Unknown Object (File)
Nov 13 2025, 12:50 PM
Unknown Object (File)
Nov 12 2025, 5:24 PM
Unknown Object (File)
Nov 12 2025, 4:46 PM
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 Skipped
Unit
No Test Coverage
Build Status
Buildable 62075
Build 58959: arc lint + arc unit