diff options
author | netchild <netchild@FreeBSD.org> | 2006-05-20 14:27:22 +0000 |
---|---|---|
committer | netchild <netchild@FreeBSD.org> | 2006-05-20 14:27:22 +0000 |
commit | 5c6fb2961cb40a7613265d1860f68c02aff60dae (patch) | |
tree | eaa0d8348cee52ab197bb5817e806b8f9947888d /usr.bin/kdump/Makefile | |
parent | 25768fb0822d0ea6d0c19e88be6e0af6977d848a (diff) | |
download | FreeBSD-src-5c6fb2961cb40a7613265d1860f68c02aff60dae.zip FreeBSD-src-5c6fb2961cb40a7613265d1860f68c02aff60dae.tar.gz |
Change kdump to print more useful information, i.e. it changes from
32229 telnet CALL mmap(0,0x8000,0x3,0x1002,0xffffffff,0,0,0)
32229 telnet CALL open(0x2807bc28,0,0x1b6)
32229 telnet CALL socket(0x2,0x2,0)
to
32229 telnet CALL mmap(0,0x8000,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,0xffffffff,0,0,0)
32229 telnet CALL open(0x2807bc28,O_RDONLY,<unused>0x1b6)
32229 telnet CALL socket(PF_INET,SOCK_DGRAM,0)
David wanted to implement the suggestions which came up at the review from
arch@ too, but real life rejected this proposal. So I commit what we already
got and let another volunteer pick the remaining work from the ideas list.
Submitted by: "David Kirchner" <dpk@dpk.net>
Suggested by: FreeBSD ideas list page
Reviewed by: arch
Diffstat (limited to 'usr.bin/kdump/Makefile')
-rw-r--r-- | usr.bin/kdump/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/usr.bin/kdump/Makefile b/usr.bin/kdump/Makefile index 060081c..2ca8561 100644 --- a/usr.bin/kdump/Makefile +++ b/usr.bin/kdump/Makefile @@ -4,12 +4,15 @@ .PATH: ${.CURDIR}/../ktrace PROG= kdump -SRCS= kdump.c ioctl.c subr.c -CFLAGS+= -I${.CURDIR}/../ktrace -I${.CURDIR}/../.. +SRCS= kdump.c ioctl.c kdump_subr.c subr.c +CFLAGS+= -I${.CURDIR}/../ktrace -I${.CURDIR} -I${.CURDIR}/../.. -CLEANFILES= ioctl.c +CLEANFILES= ioctl.c kdump_subr.c ioctl.c: mkioctls sh ${.CURDIR}/mkioctls ${DESTDIR}/usr/include > ${.TARGET} +kdump_subr.c: mksubr + sh ${.CURDIR}/mksubr ${DESTDIR}/usr/include > ${.TARGET} + .include <bsd.prog.mk> |