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.
リモートホストで fork プロセスをデバッグしようとしていますが、gdbserver プロセスが毎回子終了で終了します。
.gdbinit で「set follow-fork-mode child」を設定しようとしましたが、役に立ちませんでした。
これに対する良い解決策はありますか?
ありがとう。
分岐プロセスは複数回分岐しますか? そうでない場合は、 --attach オプションを使用して子にアタッチできます。