1. 設(shè)置GDB動態(tài)庫搜索路徑
set sysroot
set solib-absolute-prefix
set solib-search-path //可以設(shè)置多個
info sharedlibrary
core-file xxxxx.core
2. 使用GDB查看內(nèi)存數(shù)據(jù)
x addr size
set sysroot
set solib-absolute-prefix
set solib-search-path //可以設(shè)置多個
info sharedlibrary
core-file xxxxx.core
x addr size