[EMAIL PROTECTED] (Frank Volf) writes:

> Hi,
> 
> My system panics with a page fault in one of my kernel loadable modules. I
> want to debug this, but I can't find a way to load that module and its
> symbol table into gdb.
> 
> The steps that I have taken are 
> 
>       gdb -k /sys/compile/DRAWBRIDGE/kernel.debug vmcore.11
> 
> which gives me a normal kenel with debug symbols that I can debug? But, how
> can I load the offending kld module symbol table as well? Or can I only
> properly debug this, when I compile the module into the kernel?

Try following the steps in the developers handbook:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug.html

In particular the section 11.6 Debugging Loadable Modules Using GDB:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/x4290.html

Rolf

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to