我有一个带有JNI(和SWIG)的Android应用程序。 应用程序运行正常,我可以调试java和本机代码, 但我不断收到gdb的警告,我不知道他们来自哪里, 我把代码剥离成一个非常简单的函数。 我按照各种教程说明了如何做到这一点, 我试过Mac OS X 10.6.8和Linux mint 12,我正在使用eclipse(ADT)。
这是我收到的警告:
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 retry eventurally. Meanwhile, it is likely
that GDB is unable to debug shared library initializers
or resolve pending breakpoints after dlopen().
[New Thread 17108]
[New Thread 17110]
[New Thread 17112]
[New Thread 17113]
[New Thread 17114]
[New Thread 17115]
[New Thread 17116]
[New Thread 17117]
[New Thread 17118]
[Switching to Thread 17106]
我不知道gdb正在寻找哪些库, 任何想法?
这是info sharedlibrary的输出
(gdb) info sharedlibrary
From To Syms Read Shared Object Library
0x40003220 0x4000b940 Yes (*) /home/andrea/workspace/pjsip_app/obj/local/armeabi/linker
0x4002c860 0x4005c07c Yes (*) /home/andrea/workspace/pjsip_app/obj/local/armeabi/libc.so
No libstdc++.so
No libm.so
No liblog.so
No libcutils.so
No libgccdemangle.so
No libcorkscrew.so
No libz.so
No libutils.so
No libbinder.so
No libemoji.so
No libjpeg.so
No libexpat.so
No libskia.so
No libandroidfw.so
No libstlport.so
No libnativehelper.so
No libnetutils.so
No libhardware.so
No libsync.so
No libui.so
No libGLES_trace.so
No libEGL.so
No libGLESv2.so
No libgui.so
No libcamera_client.so
No libgabi++.so
No libicuuc.so
No libicui18n.so
No libsqlite.so
No libdvm.so
No libGLESv1_CM.so
No libETC1.so
No libwpa_client.so
No libhardware_legacy.so
No libsonivox.so
No libcrypto.so
No libssl.so
No libstagefright_foundation.so
No libspeexresampler.so
No libaudioutils.so
No libmedia_native.so
No libmedia.so
No libusbhost.so
No libharfbuzz.so
No libhwui.so
No libandroid_runtime.so
No libjavacore.so
No libdrmframework.so
No libdrmframework_jni.so
No libstagefright_omx.so
No libstagefright_yuv.so
No libvorbisidec.so
No libstagefright_enc_common.so
No libstagefright_avc_common.so
No libstagefright.so
No libmtp.so
No libexif.so
No libstagefright_amrnb_common.so
No libmedia_jni.so
No libbcinfo.so
No libbcc.so
No libRS.so
No librs_jni.so
No libandroid.so
No libchromium_net.so
No libwebcore.so
No libwilhelm.so
No libOpenSLES.so
0x47ceb0f8 0x47e7fd98 Yes /home/andrea/workspace/pjsip_app/obj/local/armeabi/libconnection.so
(*): Shared library is missing debugging information.