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)
Sat, Jul 4, 7:04 AM
Unknown Object (File)
Fri, Jun 19, 6:59 PM
Unknown Object (File)
Thu, Jun 18, 3:03 PM
Unknown Object (File)
Wed, Jun 17, 3:08 AM
Unknown Object (File)
Jun 4 2026, 7:53 AM
Unknown Object (File)
Jun 4 2026, 3:38 AM
Unknown Object (File)
Apr 27 2026, 11:48 AM
Unknown Object (File)
Apr 25 2026, 5:46 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.