Mercurial > hg > CbC > old > device
annotate .gdbinit @ 412:6b3385124e5e arm-self-compile
ARM regsiter var pattern fix.
author | kono |
---|---|
date | Tue, 19 Oct 2004 23:39:42 +0900 |
parents | 5a3b1b65c6a8 |
children | a6ed0575d731 |
rev | line source |
---|---|
0 | 1 tb main |
286 | 2 # run -s test/arg.c |
410 | 3 run -s mc-parse.c |
390 | 4 # run -s mc-codegen.c |
356 | 5 # run -s nkf203/nkf.c |
351 | 6 # run -s -ob01.s mc-switch.c |
331 | 7 # run -s l.c |
398
bf583e04936f
ARM continue... calling sequence, float/duble arg function
kono
parents:
397
diff
changeset
|
8 # run -s test/const.c |
404 | 9 # run -s test/basic.c |
406 | 10 # run -s test/code-gen-all.c |
410 | 11 # run -s test/tmp7.c |
32 | 12 define regs |
116 | 13 printf "pc =%08x lr =%08x r0 =%08x r1 =%08x r3= %08x r4= %08x\n",$pc,$lr,$r0,$r1,$r3,$r4 |
111 | 14 printf "r10=%08x r11=%08x r12=%08x r13=%08x r14=%08x r15=%08x\n",$r10,$r11,$r12,$r13,$r14,$r15 |
15 end | |
16 define fregs | |
17 printf "f1=%g f2=%g f3=%g f4=%g f5=%g f6=%g\n",$f1,$f2,$f3,$f4,$f5,$f6 | |
18 printf "f10=%g f11=%g f12=%g f13=%g f14=%g f15=%g\n",$f10,$f11,$f12,$f13,$f14,$f15 | |
32 | 19 end |
116 | 20 define allreg |
21 printf "pc =%08x lr =%08x r0 =%08x r1 =%08x r3= %08x r4= %08x\n",$pc,$lr,$r0,$r1,$r3,$r4 | |
22 printf "r5=%08x r6=%08x r7=%08x r8=%08x r9=%08x\n",$r5,$r6,$r7,$r8,$r9 | |
23 printf "r10=%08x r11=%08x r12=%08x r13=%08x r14=%08x r15=%08x\n",$r10,$r11,$r12,$r13,$r14,$r15 | |
24 printf "r16=%08x r17=%08x r18=%08x r19=%08x r20=%08x r21=%08x\n",$r10,$r11,$r12,$r13,$r14,$r15 | |
25 printf "f1=%g f2=%g f3=%g f4=%g f5=%g f6=%g\n",$f1,$f2,$f3,$f4,$f5,$f6 | |
26 printf "f10=%g f11=%g f12=%g f13=%g f14=%g f15=%g\n",$f10,$f11,$f12,$f13,$f14,$f15 | |
27 printf "f20=%g f21=%g f22=%g f23=%g f24=%g f25=%g\n",$f20,$f21,$f22,$f23,$f24,$f25 | |
28 end | |
29 define sh | |
30 regs | |
31 x/20i $pc-36 | |
32 end | |
32 | 33 define si |
34 stepi | |
35 regs | |
110 | 36 x/1i $pc |
32 | 37 end |
38 define ni | |
39 nexti | |
51 | 40 regs |
110 | 41 x/1i $pc |
32 | 42 end |
39 | 43 b errmsg |