Mercurial > hg > CbC > old > device
annotate .gdbinit @ 403:562d76edddee
arg on register
author | kono |
---|---|
date | Sun, 17 Oct 2004 11:23:10 +0900 |
parents | cda558feec30 |
children | 95956779df2e |
rev | line source |
---|---|
0 | 1 tb main |
286 | 2 # run -s test/arg.c |
386 | 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 |
403 | 9 run -s test/basic.c |
10 # run -s test/code-gen-all.c | |
32 | 11 define regs |
116 | 12 printf "pc =%08x lr =%08x r0 =%08x r1 =%08x r3= %08x r4= %08x\n",$pc,$lr,$r0,$r1,$r3,$r4 |
111 | 13 printf "r10=%08x r11=%08x r12=%08x r13=%08x r14=%08x r15=%08x\n",$r10,$r11,$r12,$r13,$r14,$r15 |
14 end | |
15 define fregs | |
16 printf "f1=%g f2=%g f3=%g f4=%g f5=%g f6=%g\n",$f1,$f2,$f3,$f4,$f5,$f6 | |
17 printf "f10=%g f11=%g f12=%g f13=%g f14=%g f15=%g\n",$f10,$f11,$f12,$f13,$f14,$f15 | |
32 | 18 end |
116 | 19 define allreg |
20 printf "pc =%08x lr =%08x r0 =%08x r1 =%08x r3= %08x r4= %08x\n",$pc,$lr,$r0,$r1,$r3,$r4 | |
21 printf "r5=%08x r6=%08x r7=%08x r8=%08x r9=%08x\n",$r5,$r6,$r7,$r8,$r9 | |
22 printf "r10=%08x r11=%08x r12=%08x r13=%08x r14=%08x r15=%08x\n",$r10,$r11,$r12,$r13,$r14,$r15 | |
23 printf "r16=%08x r17=%08x r18=%08x r19=%08x r20=%08x r21=%08x\n",$r10,$r11,$r12,$r13,$r14,$r15 | |
24 printf "f1=%g f2=%g f3=%g f4=%g f5=%g f6=%g\n",$f1,$f2,$f3,$f4,$f5,$f6 | |
25 printf "f10=%g f11=%g f12=%g f13=%g f14=%g f15=%g\n",$f10,$f11,$f12,$f13,$f14,$f15 | |
26 printf "f20=%g f21=%g f22=%g f23=%g f24=%g f25=%g\n",$f20,$f21,$f22,$f23,$f24,$f25 | |
27 end | |
28 define sh | |
29 regs | |
30 x/20i $pc-36 | |
31 end | |
32 | 32 define si |
33 stepi | |
34 regs | |
110 | 35 x/1i $pc |
32 | 36 end |
37 define ni | |
38 nexti | |
51 | 39 regs |
110 | 40 x/1i $pc |
32 | 41 end |
39 | 42 b errmsg |