]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r208509:
authorbz <bz@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 4 Jul 2010 12:27:18 +0000 (12:27 +0000)
committerbz <bz@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 4 Jul 2010 12:27:18 +0000 (12:27 +0000)
commite43777c1291de3e3cbd81f895413535ec81dcf42
tree090f480e5c5ca35c10159e15b0534898d8d60eaa
parent5c1ac1f37975e010fa41d068e3912ed8ce8b4a57
MFC r208509:

  MFp4 @178364:

  Implement an optional delay to the ddb reset/reboot command.

  This allows textdumps to be run automatically with unattended reboots
  after a resonable timeout, while still permitting an administrator to
  break into debugger if attached to the console at the time of the
  event for further debugging.  Cap the maximum delay at 1 week to avoid
  highly accidental results, and default to 15s in case of problems
  parsing the timeout value.

  Move hex2dec helper function from db_thread.c to db_command.c to make
  it generally available and prefix it with a "db_" to avoid namespace
  collisions.

  Reviewed by:  rwatson

git-svn-id: svn://svn.freebsd.org/base/stable/8@209692 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
share/man/man4/ddb.4
sys/ddb/db_command.c
sys/ddb/db_command.h
sys/ddb/db_thread.c