Re: no kld in minidumps

From: Devon H. O'Dell <devon.odell_at_gmail.com>
Date: Fri, 18 Aug 2006 09:46:43 -0400
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
>
Received on Fri Aug 18 2006 - 11:46:46 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:59 UTC