Page MenuHomeFreeBSD

Fix a couple of issues in kgdb.
ClosedPublic

Authored by jhb on Dec 30 2020, 5:54 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jun 4, 7:53 AM
Unknown Object (File)
Thu, Jun 4, 3:38 AM
Unknown Object (File)
Apr 27 2026, 11:48 AM
Unknown Object (File)
Apr 25 2026, 5:46 AM
Unknown Object (File)
Apr 25 2026, 4:36 AM
Unknown Object (File)
Apr 18 2026, 3:00 AM
Unknown Object (File)
Apr 6 2026, 6:58 AM
Unknown Object (File)
Mar 30 2026, 2:02 AM
Subscribers

Details

Summary
  • Properly unwind across in-kernel exceptions on arm.
  • Enumerate processes via the pid hash table for kernels without the zombproc list.

PR: 251463 (1)

Test Plan
  • I've tested the zombproc fix on a recent panic on head during exit1() where kgdb didn't see the panicking thread without the fix.
  • The OP for the PR has not tested the arm patch, but I beleive it to be correct.

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

jhb requested review of this revision.Dec 30 2020, 5:54 PM

It looks good to me.
I tested the build on the available platform and I don't have a way to test on arm.
However, it's good to be committed

This revision is now accepted and ready to land.Jan 4 2021, 9:05 PM
This revision was automatically updated to reflect the committed changes.