freebsd-dev/sys/ddb
Bjoern A. Zeeb 0f59fbc3d6 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
2010-05-24 16:41:05 +00:00
..
db_access.c
db_access.h
db_break.c
db_break.h
db_capture.c
db_command.c MFp4 @178364: 2010-05-24 16:41:05 +00:00
db_command.h MFp4 @178364: 2010-05-24 16:41:05 +00:00
db_examine.c
db_expr.c
db_input.c
db_lex.c
db_lex.h
db_main.c
db_output.c
db_output.h
db_print.c
db_ps.c
db_run.c
db_script.c
db_sym.c
db_sym.h
db_textdump.c
db_thread.c MFp4 @178364: 2010-05-24 16:41:05 +00:00
db_variables.c
db_variables.h
db_watch.c
db_watch.h
db_write_cmd.c
ddb.h