Re: Making a symbol table
Hubert Feyrer <[email protected]> Tue, 26 Apr 2005 11:10:26 +0200 (CEST)
| Newsgroups | gmane.os.netbsd.devel.kernel,gmane.os.netbsd.current,gmane.os.netbsd.ports.sandpoint |
|---|---|
| Message-ID | <Pine.GSO.4.61.0504261108590.8369@rfhpc8317> |
On Tue, 26 Apr 2005, Chan-youn Park wrote: > When '[no symbols available]' message comes out while booting, what > options should I set for compiling a kernel with symbols? Try: makeoptions DEBUG="-g" # compile full symbol table Looking with file(1) at the thing you boot may be helpful, too. As far as I understand, the NetBSD kernel usually has _some_ amount of symbols in it, but I may be wrong. At least on my PC, I get: noon% file /netbsd /netbsd: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), statically linked, not stripped The "not stripped" is the key here. Not full debug symbols, but some. - Hubert -- NetBSD - Free AND Open! (And of course secure, portable, yadda yadda)