Android remote gdb

少年辛苦终身事,莫向光阴惰寸功。这篇文章主要讲述Android remote gdb相关的知识,希望能为你提供帮助。
On android phone
adb push ~/utils/android-ndk-r12b/prebuilt/android-arm64/gdbserver/gdbserver /data/local/tmp
#/data/local/tmp/gdbserver :8888 /data/local/tmp/test 0 /data/local/tmp
set follow-fork-mode [parent|child]
On PC
adb forward tcp:8888 tcp:8888
【Android remote gdb】~/utils/android-ndk-r12b/prebuilt/linux-x86_64/bin/gdb -q -ex " target remote :8888" -ex " source break_points" -ex " set follow-fork-mode parent"

    推荐阅读