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.
これは、GDB コードを変更して独自の CLI を追加することに関する質問です。
コアダンプでグローバル システム アドレスを見つけるために、lookup_symbol("XYZ", ...) を使用しています。API は成功します。つまり、シンボル名でシンボル データ構造体を取得しますが、アドレスは取得しません。
'print XYZ' は正常に動作します!
シンボルアドレスを正しく取得するために何を変更できますか?