diff .gdbinit @ 110:fb502a0071f8

first binary run
author kono
date Wed, 19 Mar 2003 04:25:43 +0900
parents f849af4b5ea9
children 7aa449aff3e6
line wrap: on
line diff
--- a/.gdbinit	Wed Mar 19 02:22:33 2003 +0900
+++ b/.gdbinit	Wed Mar 19 04:25:43 2003 +0900
@@ -1,16 +1,17 @@
 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)
+printf "r0=%08x r1=%08x r2=%08x r3=%08x\n",$r0,$r1,$r2,$r3
+printf "lr=%08x pc=%08x r4=%08x r5=%08x\n",$lr,$pc,$r4,$r5
 end
 define si
 stepi
 regs
-x/1i $eip
+x/1i $pc
 end
 define ni
 nexti
 regs
-x/1i $eip
+x/1i $pc
 end
 b errmsg
-r -s test/basic.c
+r -s mc-code-powerpc.c