*BSD News Article 71752


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!cs.mu.OZ.AU!munnari.OZ.AU!news.hawaii.edu!news.uoregon.edu!vixen.cso.uiuc.edu!uwm.edu!lll-winken.llnl.gov!nntp.coast.net!zombie.ncsc.mil!news.mathworks.com!news.kei.com!newsfeed.internetmci.com!in1.uu.net!fu-berlin.de!news.belwue.de!news.uni-stuttgart.de!uniol!uni-erlangen.de!news.tu-chemnitz.de!irz401!orion.sax.de!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: FreeBSD striping the debug info from the kernel
Date: 22 Jun 1996 11:54:48 GMT
Organization: Private BSD site, Dresden
Lines: 21
Message-ID: <4qgmu8$q31@uriah.heep.sax.de>
References: <4psneo$p9h@hermes.athenet.net> <4pv2a1$84e@uriah.heep.sax.de>
  <4q20nt$l9o@raven.und.ac.za>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.6
X-Phone: +49-351-2012 669
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E

tony@beastie.cs.und.ac.za (Tony Harverson) wrote:

> : No, it ain't.  ``strip -d kernel'' would be the right thing.
> 
> Besides the saving in disk space, is there any advantage to stripping
> the kernel ?

Only if your kernel has actual symbolic debug information (i.e. you've
either used ``config -g'', or manually added the -g option to the
CFLAGS in your kernel Makefile).  In this case, all kernel symbols
will be loaded into the physical memory at boot time, for the sake of
the kernel debugger.

For kernels that don't have debug info, strip -d is a do-nothing.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)