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"

相关文章:

  • 2022-12-23
  • 2021-12-27
  • 2021-04-26
  • 2021-09-11
  • 2021-12-15
  • 2021-08-26
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-01-01
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案