Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 07 Jan 2007 23:58:53 +0100
From:      Karol Kwiatkowski <freebsd@orchid.homeunix.org>
To:        christopher floess <skeptikos@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: obtaining kernel.debug
Message-ID:  <45A17B2D.9090200@orchid.homeunix.org>
In-Reply-To: <d7a53080701071409r6685f268y8ce2dd3410480c3d@mail.gmail.com>
References:  <d7a53080701061956q43a1b311n58936b737a4fca23@mail.gmail.com>	 <45A107A0.5020401@orchid.homeunix.org> <d7a53080701071409r6685f268y8ce2dd3410480c3d@mail.gmail.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
christopher floess wrote:
> On 1/7/07, Karol Kwiatkowski <freebsd@orchid.homeunix.org> wrote:
>>
>> christopher floess wrote:
>> > I've obtained a vmcore file, and now I just need kernel.debug.
>> >
>> > Is there a way to get this file using the new make procedure for
>> kernels?
>> > Can I just use the 'kernel' file, or is there a difference between
>> 'kernel'
>> > and 'kernel.debug'? Thanks for any help ~ Chris
>>
>> I'm also new to this so take it with a grain of salt.
>>
>> You'll need kernel with debug symbols (kernel.debug). Add this line to
>> your kernel config (it is included in 6.2 GENERIC):
>>
>> makeoptions     DEBUG=-g    # Build kernel with gdb(1) debug symbols
>>
>> The 'new make procedure' will produce both kernel and kernel.debug files
>> in obj/usr/src/sys/YOUR_KERNEL_NAME
> 
> 
> Sounds good, Karol. Will my current core file work with the recompiled
> kernel? Or will I have to generate a new one?

I've got no idea, cc'ing @freebsd-questions, someone here may have one.

Cheers,

Karol

-- 
Karol Kwiatkowski  <freebsd at orchid dot homeunix dot org>
OpenPGP: http://www.orchid.homeunix.org/carlos/gpg/0x06E09309.asc


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFoXs2ezeoPAwGIYsRCCrTAJ9bW4mD5pw0w+feWn8nTYkO5wGKuQCcCwTU
gZl/EQJJnQ2aQLuzCCNdFeg=
=HCR7
-----END PGP SIGNATURE-----
help

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