Mercurial > hg > CbC > old > device
comparison .gdbinit @ 110:fb502a0071f8
first binary run
author | kono |
---|---|
date | Wed, 19 Mar 2003 04:25:43 +0900 |
parents | f849af4b5ea9 |
children | 7aa449aff3e6 |
comparison
equal
deleted
inserted
replaced
109:e09f9de6f5d3 | 110:fb502a0071f8 |
---|---|
1 tb main | 1 tb main |
2 define regs | 2 define regs |
3 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) | 3 printf "r0=%08x r1=%08x r2=%08x r3=%08x\n",$r0,$r1,$r2,$r3 |
4 printf "lr=%08x pc=%08x r4=%08x r5=%08x\n",$lr,$pc,$r4,$r5 | |
4 end | 5 end |
5 define si | 6 define si |
6 stepi | 7 stepi |
7 regs | 8 regs |
8 x/1i $eip | 9 x/1i $pc |
9 end | 10 end |
10 define ni | 11 define ni |
11 nexti | 12 nexti |
12 regs | 13 regs |
13 x/1i $eip | 14 x/1i $pc |
14 end | 15 end |
15 b errmsg | 16 b errmsg |
16 r -s test/basic.c | 17 r -s mc-code-powerpc.c |