4

GDB で逆実行を実行しようとしています。具体的には、こちらtarget recordの手順に従って gdb でプログラムを実行した後に実行し、次のエラーをトリガーしています。

Process record: the current architecture doesn't support record function.

これはここで議論されているのと同じ問題のようですが、解決されませんでした。これが私のgdbバージョン情報です:

alexcannon$ gdb -version
GNU gdb (GDB) 7.6
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-apple-darwin12.5.0".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.

助けてくれてありがとう。

4

1 に答える 1

7

ドキュメントから:

現在、特定のターゲット デバッグ環境のみがリバース デバッグをサポートしています。これらのターゲットには現在、次のものが含まれます。

  • ネイティブ i386-linux (「ターゲット レコード」)
  • ネイティブ amd64-linux (「ターゲット レコード」)
  • 以下を含むいくつかのリモート ターゲット:
    • モクシーエルフシミュレーター
    • シミックス
    • ヴイエムウェア ワークステーション 7.0
    • SID シミュレーター (xstormy16 アーキテクチャー)
    • valgrind を使用した年代記-gdbserver
    • 元に戻すDB

あなたのターゲット:x86_64-apple-darwin12は上記のどれでもない。

申し訳ありませんが、実装されていません:-(

于 2013-12-04T02:53:05.893 に答える