Andriy Gapon wrote this message on Fri, Aug 18, 2006 at 16:26 +0300: > 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 ? look at src/tools/debugscripts which has two different solutions to the problem... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."Received on Fri Aug 18 2006 - 16:23:04 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:59 UTC