Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Apr 2008 13:15:58 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        Rick Hunnicutt <rk_hunnicutt@yahoo.com>
Cc:        freebsd-drivers@freebsd.org
Subject:   Re: New driver writer
Message-ID:  <200804181315.58659.jhb@freebsd.org>
In-Reply-To: <261819.76704.qm@web37603.mail.mud.yahoo.com>
References:  <261819.76704.qm@web37603.mail.mud.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 10 April 2008 11:15:24 pm Rick Hunnicutt wrote:
> Thanks John. I'm mucking my way around pretty well now.  I noticed the 
drivers in the kernel directory have symbol files. When I build my driver, it 
is striped and no symbol file is gerneated. Is ther a trick to do this? 

Use 'make DEBUG=-g' when building the module.

> Also, kgdb in the the 7.0 release doesn't seem to support add-kld... Is 
there an easy way to upgrade this?

Just grab the kgdb sources from RELENG_7 and apply the to your 7.0 tree and 
build a new kgdb.  It is also probably safe to just grab a kgdb binary from a 
newer 7.x snapshot directly.

-- 
John Baldwin



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