]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
sys/kern/subr_kdb.c:
authorJustin T. Gibbs <gibbs@FreeBSD.org>
Tue, 14 Jun 2011 21:37:25 +0000 (21:37 +0000)
committerJustin T. Gibbs <gibbs@FreeBSD.org>
Tue, 14 Jun 2011 21:37:25 +0000 (21:37 +0000)
commit583bef38632dcc668ff4a7a9a5af10781399e347
tree46e00a6562f919ac1955d58d67efefb78351cb40
parent144b716627d51e0e4551b6366661036a111ae5c0
sys/kern/subr_kdb.c:
Modify the "alternate break sequence" detecting state
machine so that only a contiguous invocation of the
break sequence is accepted.  The old implementation
did not reset the state machine when detecting an
unexpected character.

While here, use an enum for the states of the machine
instead of magic numbers.bmitted by:

Sponsored by: Spectra Logic Corporation
sys/kern/subr_kdb.c