Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Aug 2001 16:23:01 +0200 (CEST)
From:      volf@oasis.IAEhv.nl (Frank Volf)
To:        freebsd-hackers@freebsd.org
Subject:   how to debug a kld module?
Message-ID:  <20010813142301.3A6D23E02@drawbridge.oasis.IAEhv.nl>

next in thread | raw e-mail | index | archive | help

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?

Thanks,

Frank

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?20010813142301.3A6D23E02>