how to do kernel debug?

2005-04-09 Thread #ZHANG CHUNLEI#
Dear all: i have modifiy some part of TCP code, while after compiling and reboot, shows me fatal 12 page fault. I want to ask nomally how to do kernel debug ? what are the steps. thanks. chunlei ___ freebsd-net@freebsd.org mailing list http://lists.f

error to use kmem_free() function

2005-04-09 Thread #ZHANG CHUNLEI#
I have modified tcp_subr.c function , in which i make use of kmem_free(kmem_map, , ) function. However, the compiling error says: wanrning: implicit declaration of kmem_free() function and kmem_map undeclared. do i miss including some header file or other reasons? thanks in advance. chu