您的位置:首页 > 服装鞋帽 > 男装 > Simple Guide to use the gdb tool in Android environment

Simple Guide to use the gdb tool in Android environment

luyued 发布于 2011-01-04 18:17   浏览 N 次  

Here is a simple sample for how to use the gdb(server/client) tool to debug the bluez daemon process in android environment.
1. On Device # ps
2. On Host # cd $(Android SMDK PATH) # adb kill-server # adb forward tcp:5039 tcp:5039 # prebuilt/linux-x86/toolchain/arm-eabi-4.2.1/bin/arm-eabi-gdb out/target/product/smdkc110/system/bin/bluetoothd $gdb set solib-absolute-prefix $(Android SMDK PATH)/out/target

广告赞助商