2 locuszhou LocusZhou 于 2014.12.17 13:57 提问

ubuntu下用gdb调试汇编提示The program has no registers now
gdb

我已经运行了程序,它还是这么提示,请问这是为什么?求高人解答

1个回答

save4me
save4me   Ds   Rxr 2014.12.17 14:17

参考info registers command

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.

Csdn user default icon
上传中...
上传图片
插入图片