How do I print the value of %eax and %ebp?
%eax
%ebp
(gdb) p $eax $1 = void
info registers
display $esp
layout regs