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
~/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"