New driver writer
John Baldwin
jhb at freebsd.org
Fri Apr 18 19:05:12 UTC 2008
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
More information about the freebsd-drivers
mailing list