How should i start working on kernel programming?

Peter Jeremy peterjeremy at optushome.com.au
Tue Mar 6 06:47:32 UTC 2007


On 2007-Mar-05 15:31:09 -0500, Dave Arsenault <cynical.nihilist at gmail.com> wrote:
>How would I go about debugging a LKM. I am currently working on a simple
>kernel module that overwrites the open() syscall and sends the output
>through a parsing routine.

Have a read of /usr/src/tools/debugscripts/README
I haven't tried setting breakpoints but other kgdb functions work with KLDs.

-- 
Peter Jeremy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20070306/1fe21cd9/attachment.pgp


More information about the freebsd-hackers mailing list