diff options
author | rwatson <rwatson@FreeBSD.org> | 2008-04-25 17:34:09 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2008-04-25 17:34:09 +0000 |
commit | c8b0048ac3ed9aff3bbafe792b35cbb126341cd0 (patch) | |
tree | e99ccd79b541b051bd09429988773c054aa6b02d /sbin/ddb/ddb.h | |
parent | 9047f0743d22eb0c15a4b22e7ca4b4a2e8d4dd69 (diff) | |
download | FreeBSD-src-c8b0048ac3ed9aff3bbafe792b35cbb126341cd0.zip FreeBSD-src-c8b0048ac3ed9aff3bbafe792b35cbb126341cd0.tar.gz |
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
Diffstat (limited to 'sbin/ddb/ddb.h')
-rw-r--r-- | sbin/ddb/ddb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/ddb/ddb.h b/sbin/ddb/ddb.h index 50128bd..8363bcc 100644 --- a/sbin/ddb/ddb.h +++ b/sbin/ddb/ddb.h @@ -29,6 +29,7 @@ #ifndef DDB_H #define DDB_H +void ddb_capture(int argc, char *argv[]); void ddb_script(int argc, char *argv[]); void ddb_scripts(int argc, char *argv[]); void ddb_unscript(int argc, char *argv[]); |