I want to print 1 words from the top of stack in the form of hexadecimal. To do so, I typed the following:
but GDB keeps popping up:
The program I'm trying to debug has already pushed a value onto stack so just in case if you're wondering that I might be trying to access kernel variables at the very beginning of program, it's not so. Any idea?
Code
(gdb) x/1xw $espCode
0xffffffffffffe030: Cannot access memory at address 0xffffffffffffe030The program I'm trying to debug has already pushed a value onto stack so just in case if you're wondering that I might be trying to access kernel variables at the very beginning of program, it's not so. Any idea?

