Subject: Re: Building a custom kernel -- trying to debug
To: Jan Danielsson <email@example.com>
From: Adam Hamsik <firstname.lastname@example.org>
Date: 12/24/2007 00:16:30
On Dec,Monday 24 2007, at 12:07 AM, Jan Danielsson wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
> I finally have some time to debug the PR
> However, I'm missing symbols in my kernel, making the process near
> impossible. I have:
> makeoptions DEBUG="-g"
> ...in my config-file. But when I run "file netbsd" on the freshly
> built kernel, it is "stripped". To remedy that, I added:
> ...to distrib/amd64/instkernel/Makefile, but it still seems to be
> creating stripped kernels. What am I missing?
AFAIK there is netbsd and netbsd.gdb file in compile directory you can
use netbsd.gdb to load symbols into the gdb when you debug your cash
dump. kernel with all symbols is really huge :).
> - --
> Kind regards,
> Jan Danielsson
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.7 (NetBSD)
> -----END PGP SIGNATURE-----