cvs commit: src/sys/kern subr_kdb.c

Peter Wemm peter at FreeBSD.org
Wed Oct 26 15:40:08 PDT 2005


peter       2005-10-26 22:40:07 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             subr_kdb.c 
  Log:
  Commit something we found useful at work at one point.  Add sysctls for
  debug.kdb.panic and debug.kdb.trap alongside the existing debug.kdb.enter
  sysctl.  'panic' causes a panic, and 'trap' causes a page fault.  We used
  these to ensure that crash dumps succeed from those two common failure
  modes.  This avoids the need for creating a 'panic' kld module.
  
  Revision  Changes    Path
  1.16      +40 -0     src/sys/kern/subr_kdb.c


More information about the cvs-src mailing list