ADT20 NDK调试失败

时间:2012-07-02 10:48:56

标签: android debugging gdb adt android-ndk

我一直在android的ndk下开发一些本机代码,并且需要调试,当然。

我使用了ADT20的预览3&相应的工具 然后官方更新了,所以我下载了一个干净版本的Eclipse,SDK,ADT和NDK(crystax build,我也用它预览并且工作正常) 但现在我无法连接调试器。我在控制台中看到的内容如下:

warning: .dynamic section for "/home/user/Development/Projects/MyDevProject/Android/ProjectName/obj/local/armeabi/libcrypto.so" is not at the expected address (wrong library or version mismatch?)
warning: Could not load shared library symbols for 63 libraries, e.g. /system/bin/linker.
Use the "info sharedlibrary" command to see the complete listing.
Do you need "set solib-search-path" or "set sysroot"?
warning: Unable to find dynamic linker breakpoint function.
GDB will be unable to debug shared library initializers
and track explicitly loaded dynamic code.
[New Thread 1614]
[New Thread 1617]
[New Thread 1618]
[New Thread 1619]
[New Thread 1620]
[New Thread 1621]
[New Thread 1622]
[New Thread 1623]
[New Thread 1624]
No symbol table is loaded.  Use the "file" command.
No symbol table is loaded.  Use the "file" command.
No symbol table is loaded.  Use the "file" command.
No symbol table is loaded.  Use the "file" command.
No symbol table is loaded.  Use the "file" command.

我确认我已经定义了NDK_DEBUG = 1并设置了所有内容,因为我上周使用了这个配置并且像魅力一样工作。

有什么想法吗?

0 个答案:

没有答案