Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 May 1998 11:27:46 +0930
From:      Greg Lehey <grog@lemis.com>
To:        joelh@gnu.org, freebsd-current@FreeBSD.ORG
Subject:   Re: Making a debugging kernel
Message-ID:  <19980522112746.W27201@freebie.lemis.com>
In-Reply-To: <199805220022.TAA18658@detlev.UUCP>; from Joel Ray Holveck on Thu, May 21, 1998 at 07:22:17PM -0500
References:  <199805220022.TAA18658@detlev.UUCP>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 21 May 1998 at 19:22:17 -0500, Joel Ray Holveck wrote:
> 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

Change that to strip -d, otherwise you'll lose a lot of symbols needed
by some utilities.

> # 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?

No, that's what strip -x does to you.

Greg
--
See complete headers for address and phone numbers
finger grog@lemis.com for PGP public key

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?19980522112746.W27201>