From owner-freebsd-hackers Mon Aug 13 7:25:24 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from news.IAEhv.nl (news.iae.nl [212.61.26.37]) by hub.freebsd.org (Postfix) with ESMTP id D43C437B40F for ; Mon, 13 Aug 2001 07:25:18 -0700 (PDT) (envelope-from volf@oasis.IAEhv.nl) Received: (from uucp@localhost) by news.IAEhv.nl (8.9.1/8.9.1) with IAEhv.nl id QAA24457 for freebsd-hackers@freebsd.org; Mon, 13 Aug 2001 16:25:17 +0200 (MET DST) Received: by drawbridge.oasis.IAEhv.nl (Postfix, from userid 226) id 3A6D23E02; Mon, 13 Aug 2001 16:23:01 +0200 (CEST) Subject: how to debug a kld module? To: freebsd-hackers@freebsd.org Date: Mon, 13 Aug 2001 16:23:01 +0200 (CEST) X-Mailer: ELM [version 2.4ME+ PL92 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Message-Id: <20010813142301.3A6D23E02@drawbridge.oasis.IAEhv.nl> From: volf@oasis.IAEhv.nl (Frank Volf) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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