Page MenuHomeFreeBSD

Fix a couple of issues in kgdb.
ClosedPublic

Authored by jhb on Dec 30 2020, 5:54 PM.
Tags
None
Referenced Files
F115700020: D27849.id81374.diff
Sun, Apr 27, 8:30 AM
Unknown Object (File)
Sat, Apr 26, 10:08 AM
Unknown Object (File)
Sun, Apr 20, 6:23 PM
Unknown Object (File)
Fri, Apr 18, 12:05 AM
Unknown Object (File)
Mon, Apr 14, 10:43 PM
Unknown Object (File)
Mar 10 2025, 12:13 PM
Unknown Object (File)
Feb 21 2025, 9:15 PM
Unknown Object (File)
Jan 4 2025, 11:43 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.