ddb: Display process flags (p_flag and p_flag2) in 'show proc'.

Reviewed by:	kib
Sponsored by:	Netflix
Differential Revision:	https://reviews.freebsd.org/D27872
This commit is contained in:
John Baldwin 2020-12-31 16:01:52 -08:00
parent 3e06c7da02
commit b4247e0cdf

View File

@ -485,6 +485,8 @@ DB_SHOW_COMMAND(proc, db_show_proc)
p->p_leader);
if (p->p_sysent != NULL)
db_printf(" ABI: %s\n", p->p_sysent->sv_name);
db_printf(" flag: %#x ", p->p_flag);
db_printf(" flag2: %#x\n", p->p_flag2);
if (p->p_args != NULL) {
db_printf(" arguments: ");
dump_args(p);