IIRC, the proper procedure for making a gdb-able kernel is roughly:
# config -g KERNEL
# cd /sys/compile/KERNEL
# make
# cp kernel kernel-g
# strip -x kernel
# make install
# rcp kernel-g host:/kernel
However, lately this seems to have an adverse affect on nlist lookups;
savecore, top, and ps -u are all affected. (I get the same effects
with strip -d.) Did I mess a heads-up?
Happy hacking,
joelh
--
Joel Ray Holveck - joelh@gnu.org - http://www.wp.com/piquan
Fourth law of programming:
Anything that can go wrong wi
sendmail: segmentation violation - core dumped
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message