Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
プロダクションからコアになっているperlスクリプトを書いています。コアがあり、これらのコア ファイルで gdb を実行する必要があります。perlスクリプトからgdbに接続するための情報を誰でも提供してもらえますか?
perlスクリプトからgdbに接続するための情報を誰でも提供してもらえますか?
あなたはそれをしたくありません。
perl代わりに、本番環境でコア ダンプが発生してクラッシュする理由を突き止めてください。これを行うには、実行します
perl
gdb /path/to/perl /path/to/core
本番マシンで、whereコマンドを発行します。
where