aboutsummaryrefslogtreecommitdiffstats
path: root/sbin/ddb/Makefile
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2008-04-25 17:34:09 +0000
committerRobert Watson <rwatson@FreeBSD.org>2008-04-25 17:34:09 +0000
commit06934245766b7f6666faba1986d8f1c47c8f8102 (patch)
treee99ccd79b541b051bd09429988773c054aa6b02d /sbin/ddb/Makefile
parentedbb029388dbf6767b29eb7b03ca6e5278a328cc (diff)
downloadsrc-06934245766b7f6666faba1986d8f1c47c8f8102.tar.gz
src-06934245766b7f6666faba1986d8f1c47c8f8102.zip
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
Notes
Notes: svn path=/head/; revision=178515
Diffstat (limited to 'sbin/ddb/Makefile')
-rw-r--r--sbin/ddb/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/sbin/ddb/Makefile b/sbin/ddb/Makefile
index 1ae724b55ee3..b9189c1c0d9e 100644
--- a/sbin/ddb/Makefile
+++ b/sbin/ddb/Makefile
@@ -1,8 +1,11 @@
# $FreeBSD$
PROG= ddb
-SRCS= ddb.c ddb_script.c
+SRCS= ddb.c ddb_capture.c ddb_script.c
MAN= ddb.8
WARNS= 3
+DPADD= ${LIBKVM}
+LDADD= -lkvm
+
.include <bsd.prog.mk>