view .gdbinit.i386mac @ 650:fe0a971a6666 struct-alignment

fix alignment in struct
author kono
date Tue, 21 Nov 2006 05:52:02 +0900
parents 557b2a266f75
children
line wrap: on
line source

tb main
define regs 
call (void)printf("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
regs
x/1i $eip
end
b errmsg
r -s test/code-gen-all.c
# r -s mc-code-powerpc.c