Remote debugging using 10.10.10.2:7890
warning: Could not load shared library symbols for 37 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.
然后运行info share居然连地址哪个库在哪个地址都没有显示。
因为没有读入符号,读入符号后就正常了。
set solib-absolute-prefix /home/ll/mount/android/android/out/target/product/generic/symbols
set solib-search-path /home/ll/mount/android/android/out/target/product/generic/symbols/system/lib
本文记录了一次使用10.10.10.2:7890进行远程调试的经历,遇到无法加载共享库符号的问题,并给出了具体的解决办法。通过设置solib-absolute-prefix和solib-search-path指定了正确的符号路径。
6833

被折叠的 条评论
为什么被折叠?



