Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Jun 1997 17:49:18 +0200
From:      j@uriah.heep.sax.de (J Wunsch)
To:        current@FreeBSD.ORG
Subject:   Re: page fault
Message-ID:  <19970604174918.CS56609@uriah.heep.sax.de>
In-Reply-To: <199706030730.KAA09291@shadows.aeon.net>; from mika ruohotie on Jun 3, 1997 10:30:19 %2B0300
References:  <19970602220739.KN28267@uriah.heep.sax.de> <199706030730.KAA09291@shadows.aeon.net>

next in thread | previous in thread | raw e-mail | index | archive | help
As mika ruohotie wrote:

> > I hope, after reading that stuff, you know what i mean by the above
> > comment.
> 
> yes, but i failed to get kernel -g:ed. i guess after this i'll use
> the 'config -g' as default.

Be careful to not accidentally load this bloated kernel into
memory. :) Also, i found the time ld(1) requires to link a full -g
kernel to be enormous.  Normally, if i just wanna examine a core dump,
i modify the Makefile to use the same cc options as before (notably
the same optimization level), but add -g.  NB: you gotta replace the
COPTS ?= line by an absolute one.  Then, i remove the .o files i wanna
force to rebuild, and just rebuild this part of the kernel.  After
this, you can usually analyze the stacktrace.

-- 
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. ;-)



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