diff options
author | bz <bz@FreeBSD.org> | 2010-05-24 16:41:05 +0000 |
---|---|---|
committer | bz <bz@FreeBSD.org> | 2010-05-24 16:41:05 +0000 |
commit | 6776200983bceda223944d82e99b820658ecd62b (patch) | |
tree | bdd087309119f3eab516764a7a8a1643c4691a2b /lib/libc/stdlib/abort.c | |
parent | 36eb388782ebccd910604f919e2bd8f13cc05362 (diff) | |
download | FreeBSD-src-6776200983bceda223944d82e99b820658ecd62b.zip FreeBSD-src-6776200983bceda223944d82e99b820658ecd62b.tar.gz |
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
MFC after: 4 weeks
Diffstat (limited to 'lib/libc/stdlib/abort.c')
0 files changed, 0 insertions, 0 deletions