linux gdbのデバッグが不思議です。"set solib-search-path"を保存するには
私は1つの実行ファイルと1つのコアダンプファイルを持っています。 ので、私は私が唯一のエラーメッセージを表示し、
gdb exefilename -c exefuilename.core
、次のようにLinuxの でそれを開いたが。そう
warning: Could not load shared library symbols for 44 libraries, e.g. /usr/local/lib/libboost_system.so.1.55.0.
Use the "info sharedlibrary" command to see the complete listing.
Do you need "set solib-search-path" or "set sysroot"?
、I入力コマンド、
set solib-search-path /librarypath/
と記号が成功読みます。 と、I入力コマンド
quit
と、私はダンプファイルを再度開きます。このように、
gdb exefilename -c exefuilename.core
でも、同じエラーメッセージが表示されます。
warning: Could not load shared library symbols for 44 libraries, e.g. /usr/local/lib/libboost_system.so.1.55.0.
Use the "info sharedlibrary" command to see the complete listing.
Do you need "set solib-search-path" or "set sysroot"?
私はこのエラーメッセージを絶対に表示したくありません。 ですから、ライブラリの検索パスを保存します。 どうすればいいですか?
ありがとうございます!!!!!! – user3416447