From owner-cvs-src@FreeBSD.ORG Sat May 10 18:43:12 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ECDCA106564A; Sat, 10 May 2008 18:43:12 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id DBCC18FC19; Sat, 10 May 2008 18:43:12 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m4AIhCYF063224; Sat, 10 May 2008 18:43:12 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m4AIhBp3063223; Sat, 10 May 2008 18:43:11 GMT (envelope-from rwatson) Message-Id: <200805101843.m4AIhBp3063223@repoman.freebsd.org> From: Robert Watson Date: Sat, 10 May 2008 18:43:11 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/sbin/ddb Makefile ddb.8 ddb.c ddb.h ddb_capture.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 May 2008 18:43:13 -0000 rwatson 2008-05-10 18:43:11 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sbin/ddb Makefile ddb.8 ddb.c ddb.h Added files: (Branch: RELENG_7) sbin/ddb ddb_capture.c Log: Merge MAkefile:1.2, ddb.8:1.5, ddb.c:1.4, ddb.h:1.2, ddb_capture.c:1.1 from HEAD to RELENG_7: Add "ddb capture print" and "ddb capture status" commands do ddb(8), alowing the DDB output capture buffer to be easily extracted from user space. Both of these commands include -M/-N arguments, allowing them to be used with kernel crash dumps (or /dev/mem). This makes it easier to use DDB scripting and output capture with minidumps or full dumps rather than with text dumps, allowing DDB output (scripted or otherwise) to be easily extracted from a crash dump. Discussed with: brooks, jhb Revision Changes Path 1.1.2.2 +4 -1 src/sbin/ddb/Makefile 1.3.2.5 +39 -2 src/sbin/ddb/ddb.8 1.2.2.4 +6 -2 src/sbin/ddb/ddb.c 1.1.2.2 +1 -0 src/sbin/ddb/ddb.h 1.1.2.1 +247 -0 src/sbin/ddb/ddb_capture.c (new)