gdb调试 android webkit

emulator -avd avd2.2


$adb shell
#ps

#gdbserver :5039 --attach pid

$adb forward tcp:5039 tcp:5039

./gingerbread/prebuilt/linux-x86/toolchain/arm-eabi-4.3.1/bin/arm-eabi-gdb ./gingerbread/out/target/product/generic/symbols/system/bin/app_process

set solib-absolute-prefix /home/olive/gingerbread/out/target/product/generic/symbols
set solib-search-path /home/olive/gingerbread/out/target/product/generic/symbols/system/lib

target remote :5039

你可能感兴趣的:(android)