gdb android

    技术2022-05-19  23

    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


    最新回复(0)