这里是记录gdb各种使用问题的地方
-x
: 执行gdb脚本set breakpoint pending on # 当前找不到符号的断点将在将来尝试断下
target remote HOST:1234 # 连接远程目标,不填HOST等于localhost
Reverse Execution (Debugging with GDB) (sourceware.org)
在x86_64上需要借助Record-and-Reply
starti
target record-full # or tr
reverse-step