Date: Mon, 3 Apr 2006 17:48:09 +0000 (UTC) From: Marcel Moolenaar <marcel@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern subr_kdb.c Message-ID: <200604031748.k33Hm9fu031343@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marcel 2006-04-03 17:48:09 UTC
FreeBSD src repository
Modified files:
sys/kern subr_kdb.c
Log:
Replace critical_enter() and critical_exit() in kdb_trap() with
intr_disable() and intr_restore() resp. Previously, critical
regions would have interrupts disabled, but that was changed.
Consequently, the debugger could run with interrupts enabled.
This could cause problems for the low-level console code where
received characters would trigger an interrupt that causes
the interrupt handler to read the character instead of the
cngetc() function.
Revision Changes Path
1.18 +3 -3 src/sys/kern/subr_kdb.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604031748.k33Hm9fu031343>
