问题现象 gdb调试core文件或进程时,出现加载so库符号失败,错误信息如下 warning: Could not load shared library symbols for ../libadd.so Do you need "set solib-search-path"
warning: Could not load shared library symbols for 19 libraries, e.g. linux-vdso.so.1. Use the “info sharedlibrary” command to see the complete listing. Do you need “set solib-search-path” or “set sysroot”? warning: no loadable sections found in added symbol-file system-supplied ...
warning: Could not load shared library symbols for ../libadd.so Do you need "set solib-search-path" or "set sysroot"? 1. 2. 执行info sharedlibrary,查看Syms Read字段为No, 表示对应so库符号加载失败。 $ pwd /home/gdb (gdb) info sharedlibrary From To Syms Read Shared Object Library 0x0...
换端口,eg: ndk-gdb --port=5050 问题2:Add: Also during debug in console shows: "warning: Could not load shared library symbols for 95 libraries After struggling alotto debug onEclipsethis is my recipe: Do the usual steps: Addandroid.os.Debug.waitForDebugger();before loading your native lib...
warning: `C:\WINDOWS\System32\wow64win.dll': Shared library architecture i386:x86-64 is not compatible with target architecture i386.warning: Could not load shared library symbols for WOW64_IMAGE_SECTION.Do you need "set solib-search-path" or "set sysroot"?warning: Could not load shared ...
warning: Could not load shared library symbols for ./QSP.so. Do you need "set solib-search-path" or "set sysroot"? Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xb289db40 (LWP 4234)] 0xb72a7a0e in ?? () from /lib/i386-linux-gnu/libc.so.6 我非常确定...
Function "test" not defined. Make breakpoint pending on future shared library load? (y or [n]) n (gdb)info sharedlibrary warning: Could not load shared library symbols for /tmp/libTest.so. Do you need "set solib-search-path" or "set sysroot"?
(gdb) r Starting program: /sbin/scmd [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device] [tcsetpgrp failed in terminal_inferior: Invalid argument] warning: Could not load shared library symbols for linux-vdso.so.1. Do you need "set solib-search-path" or "set sysroot"?
warning:Unableto finddynamiclinker breakpoint function.GDBwill be unable to debug shared library initializers and track explicitly loadeddynamiccode.0xb6fd7a00in??() 运行continue,这时gdb应该停在main()函数上。 (gdb) continue warning: Could not load shared library symbols for 10 libraries, e.g. ...
warning: Could not load shared library symbols for /lib/ld-linux-aarch64.so.1.Do you need "set solib-search-path" or "set sysroot"?varning: Loadable section ",note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELE segments Core was ...