]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix the %b flags string for ddb. All bits above the 5th
authorkib <kib@FreeBSD.org>
Mon, 25 Jan 2016 15:37:01 +0000 (15:37 +0000)
committerkib <kib@FreeBSD.org>
Mon, 25 Jan 2016 15:37:01 +0000 (15:37 +0000)
commit265360f6c0f93c95a859342680eef55baa4e950b
tree9e5718dc171a677419edc36992826f2417950f25
parent8333b5220711342f1e18a0b59c1bf2b7ca60640b
Fix the %b flags string for ddb.  All bits above the 5th
(TF_OPENED_CONS) were broken in r188147 by adding TF_OPENED_CONS
without updating the string.  It was especially confusing to display
OPENED_CONS as GONE and BYPASS as ZOMBIE.  2 flags at the end were
not updated in r188487.

Don't print an extra 0x prefix for %p in a ddb command.  In the rest
of the kernel there are more than 6000 lines with %p and only about
40 with this bug.

Print a non-extra 0x prefix for %b in a ddb command.  In the rest
of the kernel, there are approx. 180 lines with %b and 2/3 of them
have this bug.

Submitted by: bde
MFC after: 2 weeks
sys/kern/tty.c