view .gdbinit @ 42:a89cf0d6904f

regv assop
author kono
date Thu, 13 Feb 2003 15:56:31 +0900
parents c63c4fdeb9a7
children 884c74e6a2f7
line wrap: on
line source

tb main
define regs 
call fprintf(stderr,"eax=%08x ebx=%08x ecx=%08x edx=%08x\nesi=%08x edi=%08x ebp=%08x esp=%08x eip=%08x\n",$eax,$ebx,$ecx,$edx,$esi,$edi,$ebp,$esp,$eip)
end
define si
stepi
regs
x/1i $eip
end
define ni
nexti
x/1i $eip
end
b error
b errmsg
r -s test/tmp7.c