Improve the output of ddb "show proc" command
authorclaudio <claudio@openbsd.org>
Tue, 19 Sep 2023 11:35:30 +0000 (11:35 +0000)
committerclaudio <claudio@openbsd.org>
Tue, 19 Sep 2023 11:35:30 +0000 (11:35 +0000)
commitf191aecbd1d55f1216537ff2a5336a49b3deabbe
tree6fa9113e174ea5b0fa7fe975caccfd39a5fdbdac
parent709f95964c86ed2960242cd7d1d5d52d9707c231
Improve the output of ddb "show proc" command

Include missing fields -- like the sleep channel and message -- and
show both the PID and TID of the proc.
Also add '/t' as an argument that can be used to specify a proc by TID
instead of by address.
OK mpi@
sys/ddb/db_command.c
sys/kern/kern_proc.c