annotate .gdbinit @ 286:179e22f166ef register-assop

register assop fix
author kono
date Wed, 02 Jun 2004 13:19:13 +0900
parents affb054fe920
children 4ccacae1d2e6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
d35df41eac69 Initial revision
kono
parents:
diff changeset
1 tb main
286
179e22f166ef register assop fix
kono
parents: 280
diff changeset
2 # run -s test/arg.c
268
3a368fc37559 MIPS binary continue...
kono
parents: 265
diff changeset
3 # run -s -ob00.s mc-parse.c
286
179e22f166ef register assop fix
kono
parents: 280
diff changeset
4 run -s test/code-gen-all.c
32
b35787d8a442 macro initialization
kono
parents: 30
diff changeset
5 define regs
116
b14ff9671c90 register offset fix
kono
parents: 111
diff changeset
6 printf "pc =%08x lr =%08x r0 =%08x r1 =%08x r3= %08x r4= %08x\n",$pc,$lr,$r0,$r1,$r3,$r4
111
7aa449aff3e6 floating point
kono
parents: 110
diff changeset
7 printf "r10=%08x r11=%08x r12=%08x r13=%08x r14=%08x r15=%08x\n",$r10,$r11,$r12,$r13,$r14,$r15
7aa449aff3e6 floating point
kono
parents: 110
diff changeset
8 end
7aa449aff3e6 floating point
kono
parents: 110
diff changeset
9 define fregs
7aa449aff3e6 floating point
kono
parents: 110
diff changeset
10 printf "f1=%g f2=%g f3=%g f4=%g f5=%g f6=%g\n",$f1,$f2,$f3,$f4,$f5,$f6
7aa449aff3e6 floating point
kono
parents: 110
diff changeset
11 printf "f10=%g f11=%g f12=%g f13=%g f14=%g f15=%g\n",$f10,$f11,$f12,$f13,$f14,$f15
32
b35787d8a442 macro initialization
kono
parents: 30
diff changeset
12 end
116
b14ff9671c90 register offset fix
kono
parents: 111
diff changeset
13 define allreg
b14ff9671c90 register offset fix
kono
parents: 111
diff changeset
14 printf "pc =%08x lr =%08x r0 =%08x r1 =%08x r3= %08x r4= %08x\n",$pc,$lr,$r0,$r1,$r3,$r4
b14ff9671c90 register offset fix
kono
parents: 111
diff changeset
15 printf "r5=%08x r6=%08x r7=%08x r8=%08x r9=%08x\n",$r5,$r6,$r7,$r8,$r9
b14ff9671c90 register offset fix
kono
parents: 111
diff changeset
16 printf "r10=%08x r11=%08x r12=%08x r13=%08x r14=%08x r15=%08x\n",$r10,$r11,$r12,$r13,$r14,$r15
b14ff9671c90 register offset fix
kono
parents: 111
diff changeset
17 printf "r16=%08x r17=%08x r18=%08x r19=%08x r20=%08x r21=%08x\n",$r10,$r11,$r12,$r13,$r14,$r15
b14ff9671c90 register offset fix
kono
parents: 111
diff changeset
18 printf "f1=%g f2=%g f3=%g f4=%g f5=%g f6=%g\n",$f1,$f2,$f3,$f4,$f5,$f6
b14ff9671c90 register offset fix
kono
parents: 111
diff changeset
19 printf "f10=%g f11=%g f12=%g f13=%g f14=%g f15=%g\n",$f10,$f11,$f12,$f13,$f14,$f15
b14ff9671c90 register offset fix
kono
parents: 111
diff changeset
20 printf "f20=%g f21=%g f22=%g f23=%g f24=%g f25=%g\n",$f20,$f21,$f22,$f23,$f24,$f25
b14ff9671c90 register offset fix
kono
parents: 111
diff changeset
21 end
b14ff9671c90 register offset fix
kono
parents: 111
diff changeset
22 define sh
b14ff9671c90 register offset fix
kono
parents: 111
diff changeset
23 regs
b14ff9671c90 register offset fix
kono
parents: 111
diff changeset
24 x/20i $pc-36
b14ff9671c90 register offset fix
kono
parents: 111
diff changeset
25 end
32
b35787d8a442 macro initialization
kono
parents: 30
diff changeset
26 define si
b35787d8a442 macro initialization
kono
parents: 30
diff changeset
27 stepi
b35787d8a442 macro initialization
kono
parents: 30
diff changeset
28 regs
110
fb502a0071f8 first binary run
kono
parents: 103
diff changeset
29 x/1i $pc
32
b35787d8a442 macro initialization
kono
parents: 30
diff changeset
30 end
b35787d8a442 macro initialization
kono
parents: 30
diff changeset
31 define ni
b35787d8a442 macro initialization
kono
parents: 30
diff changeset
32 nexti
51
c2ef3a2fbe88 *** empty log message ***
kono
parents: 49
diff changeset
33 regs
110
fb502a0071f8 first binary run
kono
parents: 103
diff changeset
34 x/1i $pc
32
b35787d8a442 macro initialization
kono
parents: 30
diff changeset
35 end
39
c63c4fdeb9a7 struct done.
kono
parents: 38
diff changeset
36 b errmsg