title: Printing string pointed to from Register in GDB
body: <p>I have a string being moved and i want to print it based on the register.</p>
  
  <p>I did the following:</p>
  
  <pre><code>gdb x $esp
  0xbffff110:  "\274\205\004\b\324\361\377\277\334\361\377\277]\257\344\267\304s\374\267"
  
  {then I copied the address}
  
  &gt;&gt; x *0xbffff110
  0x80485bc &lt;__dso_handle+12&gt;:     "test1"
  </code></pre>
  
  <p>Is there any way to do this in one step?</p>