Code: Select all
v.puts("X");
Code: Select all
1007ba: 68 44 88 04 08 push $0x8048844
1007bf: 8d 45 d8 lea -0x28(%ebp),%eax
1007c2: 50 push %eax
1007c3: e8 de fe ff ff call 1006a6 <_ZN5Video4putsEPc>
Code: Select all
Breakpoint 1, 0x001007c3 in main ()
(gdb) info registers
eax 0x103fd8 1064920
ecx 0x1 1
edx 0x3cc 972
ebx 0x2dae0 187104
esp 0x103fb0 0x103fb0
ebp 0x104000 0x104000
esi 0x5480d 346125
edi 0x5480e 346126
eip 0x1007c3 0x1007c3 <main+55>
eflags 0x200016 [ PF AF ID ]
cs 0x8 8
ss 0x10 16
ds 0x10 16
es 0x10 16
fs 0x10 16
gs 0x10 16
(gdb) x $eax
0x103fd8 <bss+8144>: 0x08048828