From owner-cvs-src-old@FreeBSD.ORG Mon May 24 17:02:07 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 5CEBF106564A for ; Mon, 24 May 2010 17:02:07 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from repoman.freebsd.org (unknown [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 4A35F8FC17 for ; Mon, 24 May 2010 17:02:07 +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 o4OH275x077814 for ; Mon, 24 May 2010 17:02:07 GMT (envelope-from bz@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o4OH271n077813 for cvs-src-old@freebsd.org; Mon, 24 May 2010 17:02:07 GMT (envelope-from bz@repoman.freebsd.org) Message-Id: <201005241702.o4OH271n077813@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to bz@repoman.freebsd.org using -f From: "Bjoern A. Zeeb" Date: Mon, 24 May 2010 16:41:05 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD 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: Mon, 24 May 2010 17:02:07 -0000 bz 2010-05-24 16:41:05 UTC FreeBSD src repository Modified files: share/man/man4 ddb.4 sys/ddb db_command.c db_command.h db_thread.c Log: SVN rev 208509 on 2010-05-24 16:41:05Z by bz 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 Revision Changes Path 1.65 +7 -3 src/share/man/man4/ddb.4 1.82 +59 -5 src/sys/ddb/db_command.c 1.16 +6 -0 src/sys/ddb/db_command.h 1.9 +2 -29 src/sys/ddb/db_thread.c