Hi all,

I have one question...
I want to use gdb for debugging android linux kernel.. especially
"kernel/drivers/mmc" module...

I think, the debugging flow is under....

* The first terminal
$ adb shell
# gdbserver :5000 --attach $PID

When I want to debug general application,
I just use PID...
but I don't know about linux kernel....

After this, just do under...
* The second terminal
$ adb forward tcp:5000 tcp:5000

* The third terminal
android$ ./prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-
gdb ./out/target/product/obj/KERNEL/vmlinux
gdb)....

plz, give me some advices....

-- 
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel

Reply via email to