Date: Thu, 9 Mar 2000 16:52:55 +0000 From: Ben Smithurst <ben@scientia.demon.co.uk> To: fernando@cursosvirtuales.com.ar Cc: freebsd-questions@freebsd.org Subject: Re: Debugging kernel Message-ID: <20000309165255.P62624@strontium.scientia.demon.co.uk> In-Reply-To: <200003091315.KAA11767@servidor1.cursosvirtuales.com.ar> References: <200003091315.KAA11767@servidor1.cursosvirtuales.com.ar>
next in thread | previous in thread | raw e-mail | index | archive | help
Fernando P. Schapachnik wrote: please wrap lines at <80 columns. > The problem is my / partition isn't big enough to hold the 11 Mb > debug kernel. The FAQ states that config -g should produce two > kernels (one with debbuging symbols and another without). But > this doesn't happen. Can I compile one without symbols and debug > using the other. config -g FOO cd ../../compile/FOO make depend make cp kernel kernel.debug strip -g kernel make install Doesn't the FAQ say this? Anyway, then you can "make install" to get the stripped kernel installed. If it panics again, then, cd /var/crash gdb -k at gdb prompt, (n is the suffix of the newest dump) exec-file kernel.n core-file vmcore.n symbol-file /sys/compile/FOO/kernel.debug I think that's it, someone will hopefully set me straight if not. -- Ben Smithurst / ben@scientia.demon.co.uk / PGP: 0x99392F7D To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000309165255.P62624>