no kld in minidumps

Devon H. O'Dell devon.odell at gmail.com
Fri Aug 18 13:46:46 UTC 2006


2006/8/18, Andriy Gapon <avg at icyb.net.ua>:
> on 18/08/2006 05:56 Devon H. O'Dell said the following:
> >
> > Yeah, you have to do some magic to debug KLDs. Basically, you have to
> > figure out where they were loaded by walking the module list, and then
> > tell GDB where to find the TEXT section using add-symbol-file.
> > Instructions for this are available at
> > http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug-kld.html
>
> BTW, has anyone contemplated or even done this - some sort of a script
> to automatically add all modules that were loaded at a time of crash ?

Sounds like a good idea. I will write one. Sounds like a candidate for
/usr/share/examples/kgdb perahps?

--Devon

> --
> Andriy Gapon
>


More information about the freebsd-current mailing list