Date: 13 Aug 2001 16:54:15 +0100 From: Rolf Neugebauer <neugebar@dcs.gla.ac.uk> To: volf@oasis.IAEhv.nl (Frank Volf) Cc: freebsd-hackers@freebsd.org Subject: Re: how to debug a kld module? Message-ID: <ysqg0awvtug.fsf@therese.dcs.gla.ac.uk> In-Reply-To: volf@oasis.IAEhv.nl's message of "Mon, 13 Aug 2001 16:23:01 %2B0200 (CEST)" References: <20010813142301.3A6D23E02@drawbridge.oasis.IAEhv.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
volf@oasis.IAEhv.nl (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 majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ysqg0awvtug.fsf>