title: Why is "info register ebp" in gdb not displaying a decimal number?
body: <p>I am debugging a very simple code with gdb:</p>
  
  <pre><code>mov ebp,eax     ; Save # of bytes read from file for later
  </code></pre>
  
  <p>Here is my output:</p>
  
  <pre><code>Breakpoint 2, Read () at hexdump1.asm:44
  (gdb) info register eax
  eax   0xd      13
  (gdb) step
  Read () at hexdump1.asm:45
  (gdb) info register ebp
  ebp   0xd      0xd
  </code></pre>
  
  <p>Why is gdb showing me 0xd 13 for eax but 0xd 0xd for ebp? </p>