Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Want to see value stored in stack

  • 19-10-2009 10:24am
    #1
    Closed Accounts Posts: 248 ✭✭


    Im learning assembly in linux and using the gdb debugger. I know I can see the address of the stack pointer using print/x $esp. But I want to see the value stored at this address.

    Say the stack pointer (esp) value is 0xbf81da10
    T then push the value 1 onto the stack - pushl $1
    Now when I type print/x $esp I get 0xbf81da0c

    But I want to see the value that is currenly in being stored in the stack, not address of the stack pointer. How can I do this?


Comments

Advertisement