Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Aug 2006 09:46:43 -0400
From:      "Devon H. O'Dell" <devon.odell@gmail.com>
To:        "Andriy Gapon" <avg@icyb.net.ua>
Cc:        freebsd-current@freebsd.org, Jeremie Le Hen <jeremie@le-hen.org>
Subject:   Re: no kld in minidumps
Message-ID:  <9ab217670608180646m412b45cdice89d999068f27a9@mail.gmail.com>
In-Reply-To: <44E5C008.9010008@icyb.net.ua>
References:  <1155864187.00584864.1155853201@10.7.7.3> <1155882183.00584920.1155870001@10.7.7.3> <44E5C008.9010008@icyb.net.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
2006/8/18, Andriy Gapon <avg@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
>



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