suppose the following is the asm code
8048deb: e8 41 05 00 00 call 8049331 <explode_bomb>
8048df0: 03 73 f4 add -0xc(%ebx),%esi
8048df3: 83 c3 04 add $0x4,%ebx
8048df6: 8d 45 f8 lea -0x8(%ebp),%eax
8048df9: 39 c3 cmp %eax,%ebx
8048dfb: 75 e7 jne 8048de4 <phase_2+0x22>
i set a breakpoint at the last line, by this time, i am expecting both %eax and %ebx to have something stored in them.
in gdb, i do
p/x $ebx
and get
No registers.
What does this error mean? How can i get the current content stored in a register?
Please steer me in the right direction