问题描述
- ubuntu下用gdb调试汇编提示The program has no registers now
-
我已经运行了程序,它还是这么提示,请问这是为什么?求高人解答
解决方案
Common errors
If you run the info registers command without starting your program, you will get the The program has no registers now message:
(gdb) info registers
The program has no registers now.
To resolve it, run your program using the run or start command or attach to a running program using the attach command.
时间: 2024-09-28 23:52:45