title: How can one see content of stack with GDB?
body: <p>I am new to GDB, so I have some questions:</p>
  
  <ul>
  <li><p>How can I look at content of the stack?
  Example: to see content of register, I type <code>info registers</code>. For the stack, what should it be?</p></li>
  <li><p>How can I see the content of <code>$0x4(%esp)</code>? When I type <code>print /d $0x4(%esp)</code>, GDB gives an error.</p></li>
  </ul>
  
  <p>Platform: Linux and GDB</p>