From owner-freebsd-current Thu May 21 17:22:56 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA08925 for freebsd-current-outgoing; Thu, 21 May 1998 17:22:56 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from wcc4.wcc.net (wcc4.wcc.net [208.6.232.9]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA08880 for ; Thu, 21 May 1998 17:22:37 -0700 (PDT) (envelope-from piquan@wcc.net) Received: from detlev.UUCP (73.camalott.com [208.203.140.73]) by wcc4.wcc.net (8.8.8/8.8.8) with ESMTP id TAA14377; Thu, 21 May 1998 19:18:04 -0500 (CDT) Received: (from joelh@localhost) by detlev.UUCP (8.8.8/8.8.8) id TAA18658; Thu, 21 May 1998 19:22:17 -0500 (CDT) (envelope-from joelh) Date: Thu, 21 May 1998 19:22:17 -0500 (CDT) Message-Id: <199805220022.TAA18658@detlev.UUCP> To: freebsd-current@FreeBSD.ORG Subject: Making a debugging kernel From: Joel Ray Holveck Reply-to: joelh@gnu.org Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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