Results 1 to 2 of 2
Hi,
I am writing a device driver on x86 machine,Ubuntu distribution,kernel version 2.6.35.I want to debug my driver in kernel mode.I tried KGDB(Kernel Level Source Debugger).But support is given for ...
- 11-10-2010 #1Just Joined!
- Join Date
- Oct 2006
- Posts
- 2
Debugging Device Driver in Kernel Mode
Hi,
I am writing a device driver on x86 machine,Ubuntu distribution,kernel version 2.6.35.I want to debug my driver in kernel mode.I tried KGDB(Kernel Level Source Debugger).But support is given for kernel version 2.6.13.But I want to make KGDB work on version 2.6.35.Could anyone help me where can I get help to make KGDB work on 2.6.35 version?Or is there any other method to debug my driver using some other tool?Thanking you.
Regards
P.S.R.K.S.PRASAD
- 11-10-2010 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,977
Did you configure the kernel for debugging first? KDBG ( not KGDB ) should be just fine with 2.6.35, assuming you get the correct version of kdbg.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!


Reply With Quote