]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add "ddb capture print" and "ddb capture status" commands do ddb(8),
authorRobert Watson <rwatson@FreeBSD.org>
Fri, 25 Apr 2008 17:34:09 +0000 (17:34 +0000)
committerRobert Watson <rwatson@FreeBSD.org>
Fri, 25 Apr 2008 17:34:09 +0000 (17:34 +0000)
commit06934245766b7f6666faba1986d8f1c47c8f8102
treee99ccd79b541b051bd09429988773c054aa6b02d
parentedbb029388dbf6767b29eb7b03ca6e5278a328cc
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
sbin/ddb/Makefile
sbin/ddb/ddb.8
sbin/ddb/ddb.c
sbin/ddb/ddb.h
sbin/ddb/ddb_capture.c [new file with mode: 0644]