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
F133226270: D48705.id.diff
Fri, Oct 24, 3:26 AM
Unknown Object (File)
Fri, Oct 17, 7:07 AM
Unknown Object (File)
Sat, Oct 4, 12:59 PM
Unknown Object (File)
Sep 14 2025, 9:28 PM
Unknown Object (File)
Sep 13 2025, 5:34 PM
Unknown Object (File)
Sep 12 2025, 6:24 PM
Unknown Object (File)
Sep 12 2025, 11:24 AM
Unknown Object (File)
Sep 7 2025, 10:12 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