动态库编译的时候已经添加了-g但是设置断点还是不生效报如下错误
warning: Could not load shared library symbols for 17 libraries, e.g. /mnt/ffplayer/lib/libssplayer.so.
Use the “info sharedlibrary” command to see the complete listing.
Do you need “set solib-search-path” or “set sysroot”?
按照提示设置在gdb命令行输入如下指令(具体依赖的动态库写自己板端)即可
set solib-search-path /mnt/ffplayer/lib/libssplayer.so