Why there's no %ebp register in gdb?
(gdb) info registers %ebp
Invalid register `%ebp'
Isn't %ebp
re开发者_如何学Pythongister available in all platforms?
It is info registers $ebp
It works for me
It's info registers ebp
not %ebp
. But no, you can't assume every platform has a specific register.
精彩评论