cvs commit: src/sys/kern subr_kdb.c

Marcel Moolenaar marcel at
Mon Apr 3 17:48:10 UTC 2006

marcel      2006-04-03 17:48:09 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             subr_kdb.c 
  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

More information about the cvs-src mailing list