How to print register values in GDB? May 26, 2022 by IT Nursery How do I print the value of %eax and %ebp? (gdb) p $eax $1 = void 7 Answers 7