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)
Wed, Apr 17, 1:43 PM
Unknown Object (File)
Jan 31 2024, 10:12 AM
Unknown Object (File)
Jan 31 2024, 10:12 AM
Unknown Object (File)
Jan 31 2024, 10:11 AM
Unknown Object (File)
Jan 30 2024, 2:41 AM
Unknown Object (File)
Dec 26 2023, 8:31 AM
Unknown Object (File)
Dec 20 2023, 6:48 AM
Unknown Object (File)
Nov 19 2023, 11: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.