4

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

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

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 并且所有的东西都设置好了,因为我上周使用了这个配置并且像一个魅力一样工作。

有任何想法吗?

4

0 回答 0