Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 May 1998 19:22:17 -0500 (CDT)
From:      Joel Ray Holveck <joelh@gnu.org>
To:        freebsd-current@FreeBSD.ORG
Subject:   Making a debugging kernel
Message-ID:  <199805220022.TAA18658@detlev.UUCP>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199805220022.TAA18658>