Page MenuHomeFreeBSD

Use kdb_thr_* to iterate over threads consistently in DDB.
ClosedPublic

Authored by jhb on Dec 29 2020, 11:53 PM.

Details

Summary

The "findstack", "show all trace", and "show active trace" commands
were iterating over allproc to enumerate threads. This missed threads
executing in exit1() after being removed from allproc.

Diff Detail

Repository
R10 FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.