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 反向调试。所以我有一个带有 main() 和 foo() 的简单 C 程序,它在 main() 中调用。
在gdb里面,我做了以下
b main record run
然后我进入foo():
foo()
s
然后我试着回去
reverse-step
那是我在标题中收到错误消息的时候。
我的 gdb 版本是:GNU gdb (GDB) 7.5.91.20130417-cvs-ubuntu
我做错了什么?
在使用开始录制之前,您必须开始调试程序(使用run命令) 。record尝试
run
record
b main run record