Subject: Building a custom kernel -- trying to debug
To: None <tech-kern@netbsd.org>
From: Jan Danielsson <jan.m.danielsson@gmail.com>
List: tech-kern
Date: 12/24/2007 00:07:27
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hello,

   I finally have some time to debug the PR
http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=36963.

   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:

MDSET_NOSTRIP=1

   ...to distrib/amd64/instkernel/Makefile, but it still seems to be
creating stripped kernels. What am I missing?

- --
Kind regards,
Jan Danielsson

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (NetBSD)

iD8DBQFHbuovuPlHKFfKXTYRCnfhAJ9D63sAukc4BuBWZsh3B2eWHSAofgCgkjqQ
a+m9cQuRzItYDmausqnqu7E=
=uXK4
-----END PGP SIGNATURE-----