LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Kernel Module Debugging (https://www.linuxquestions.org/questions/linux-general-1/kernel-module-debugging-4175415256/)

rupeshkp728 07-06-2012 10:51 AM

Kernel Module Debugging
 
Question may seem illogical but I still need clarification.
Can we debug kernel modules loaded on my target system using kdb / kgdb without using any other system or remote debugging?
In other words my question is can we use kdb/kgdb to debug kernel modules running on same system?

honeybadger 07-06-2012 02:00 PM

Well if you have the source code then there is an article in it about debugging the kernel modules. On my computer it is at /usr/src/linux/Documents/debuging-modules.txt.
Hope this helps.

rupeshkp728 07-06-2012 02:07 PM

Thanks for the reply.
I will check the docs.


All times are GMT -5. The time now is 12:27 AM.