how to debug my won kernel module?



hi,
I'd like to know how to debug my won kernel module?

gdb is working for my own kernel module?

Thanks.


.