我曾嘗試調試本地C在Android上,的Android/JAVA/src目錄/ PCF:沒有這樣的文件或目錄
但出現以下錯誤:
There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "--host=x86_64-apple-darwin --target=arm-linux-android". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Warning: /Users/eladb/MyWorkspace/Client/src/android/java/src/pcf: No such file or directory. Remote debugging from host 225.89.3.0 warning: while parsing target library list (at line 2): No segment defined for ..
Warning: /Users/eladb/MyWorkspace/Client/src/src/pcf: No such file or directory. Reading symbols from /Users/eladb/MyWorkspace/Client/src/android/java/obj/local/armeabi/app_process...done.
WARNING: no debugging symbols found in /Users/eladb/MyWorkspace/Client/src/android/java/obj/local/armeabi/app_process. Either the binary was compiled without debugging information or the debugging information was removed (e.g., with strip or strip -g). Debugger capabilities will be very limited.
怎麼能我解決這個問題?
你究竟是怎麼試着「在Android上調試native c」的?你輸入了什麼工具/命令? – BoD