From owner-cvs-src-old@FreeBSD.ORG Sun Jul 4 12:35:37 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B0E171065675 for ; Sun, 4 Jul 2010 12:35:37 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 9EA408FC19 for ; Sun, 4 Jul 2010 12:35:37 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id o64CZb69098974 for ; Sun, 4 Jul 2010 12:35:37 GMT (envelope-from bz@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o64CZbk8098973 for cvs-src-old@freebsd.org; Sun, 4 Jul 2010 12:35:37 GMT (envelope-from bz@repoman.freebsd.org) Message-Id: <201007041235.o64CZbk8098973@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to bz@repoman.freebsd.org using -f From: "Bjoern A. Zeeb" Date: Sun, 4 Jul 2010 12:27:18 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_8 Subject: cvs commit: src/share/man/man4 ddb.4 src/sys/ddb db_command.c db_command.h db_thread.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jul 2010 12:35:37 -0000 bz 2010-07-04 12:27:18 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) share/man/man4 ddb.4 sys/ddb db_command.c db_command.h db_thread.c Log: SVN rev 209692 on 2010-07-04 12:27:18Z by bz 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 Revision Changes Path 1.63.2.2 +7 -3 src/share/man/man4/ddb.4 1.80.2.3 +59 -5 src/sys/ddb/db_command.c 1.15.2.2 +6 -0 src/sys/ddb/db_command.h 1.7.10.2 +2 -29 src/sys/ddb/db_thread.c