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>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig662D878AF1F903DDEF4A866F
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

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=3D-g    # Build kernel with gdb(1) debug symbols=

>>
>> The 'new make procedure' will produce both kernel and kernel.debug fil=
es
>> in obj/usr/src/sys/YOUR_KERNEL_NAME
>=20
>=20
> 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

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


--------------enig662D878AF1F903DDEF4A866F
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----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-----

--------------enig662D878AF1F903DDEF4A866F--



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