How to debug linux kernel code on Android platforms?

view story

http://stackoverflow.com – It seems this subject hadn't have nice solution and a good reference explains what one should do to debug his code. here are reference without any solution. Can anyone contribute his knowledge for this popular problem? ref: Android: Kernel Debugging with KGDB https://groups.google.com/group/android-kernel/search?group=android-kern... https://groups.google.com/forum/?fromgroups=#!topic/android-kernel/UjPgM5GGfJg http://oss.sgi.com/projects/kdb/ http://www.ronetix.at/an008_ARM_Linux_Debugging.html http://www.mulix.org/lectures/kernel_oopsing/kernel_oo (HowTos)