b *0x080492a4commands 1    set $last_data = $eax    call memcpy($tmp, $last_data, 0x14)    continueend
b *0x080492adcommands 2    call memcpy($last_data, $tmp, 0x14)    set $argv = *(char***)($ebp+0xc)    set $flag = $argv[1]    set $i = *(int*)($esp+0x18)    set $flag[$i] += 1    x/s $flag    set $eip = 0x0804927e    continueend
b *0x080492B5commands 3    x/s $flag    continueend
b *0x08049242commands 4    call malloc(0x14)    set $tmp = $eax    continueend
run "                                         "
# vim: ft=gdb