[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

debugging LKMs with GDB



Hi!

As we can debug user space programs with GDB, how can we debug the
loadable kernel modules
with GDB. Is there any special kernel parameter to be passed?
I suppose this would require a kernel recompilation. I have 2.4.18.

regards
--Himanshu

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/