Date: Fri, 25 Apr 2008 17:34:09 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sbin/ddb Makefile ddb.8 ddb.c ddb.h ddb_capture.c Message-ID: <200804251734.m3PHY9dC063036@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2008-04-25 17:34:09 UTC
FreeBSD src repository
Modified files:
sbin/ddb Makefile ddb.8 ddb.c ddb.h
Added files:
sbin/ddb ddb_capture.c
Log:
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.
MFC after: 1 week
Discussed with: brooks, jhb
Revision Changes Path
1.2 +4 -1 src/sbin/ddb/Makefile
1.5 +39 -2 src/sbin/ddb/ddb.8
1.4 +6 -2 src/sbin/ddb/ddb.c
1.2 +1 -0 src/sbin/ddb/ddb.h
1.1 +247 -0 src/sbin/ddb/ddb_capture.c (new)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200804251734.m3PHY9dC063036>
