diff .gdbinit.i386mac @ 630:557b2a266f75

Intel continue...
author kono
date Tue, 10 Oct 2006 23:26:06 +0900
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/.gdbinit.i386mac	Tue Oct 10 23:26:06 2006 +0900
@@ -0,0 +1,17 @@
+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