annotate .gdbinit.powerpc @ 873:509a394c5ff9

temp4 passed.
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Tue, 01 Apr 2014 18:02:03 +0900
parents 5f180dc8d84e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
7aa449aff3e6 floating point
kono
parents:
diff changeset
1 tb main
123
5f180dc8d84e intel fix.
kono
parents: 119
diff changeset
2 r -s test/basic.c
111
7aa449aff3e6 floating point
kono
parents:
diff changeset
3 define regs
119
b815fcd57b9d input var ( incomplete )
kono
parents: 111
diff changeset
4 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:
diff changeset
5 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:
diff changeset
6 end
7aa449aff3e6 floating point
kono
parents:
diff changeset
7 define fregs
7aa449aff3e6 floating point
kono
parents:
diff changeset
8 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:
diff changeset
9 printf "f10=%g f11=%g f12=%g f13=%g f14=%g f15=%g\n",$f10,$f11,$f12,$f13,$f14,$f15
7aa449aff3e6 floating point
kono
parents:
diff changeset
10 end
119
b815fcd57b9d input var ( incomplete )
kono
parents: 111
diff changeset
11 define allreg
b815fcd57b9d input var ( incomplete )
kono
parents: 111
diff changeset
12 printf "pc =%08x lr =%08x r0 =%08x r1 =%08x r3= %08x r4= %08x\n",$pc,$lr,$r0,$r1,$r3,$r4
b815fcd57b9d input var ( incomplete )
kono
parents: 111
diff changeset
13 printf "r5=%08x r6=%08x r7=%08x r8=%08x r9=%08x\n",$r5,$r6,$r7,$r8,$r9
b815fcd57b9d input var ( incomplete )
kono
parents: 111
diff changeset
14 printf "r10=%08x r11=%08x r12=%08x r13=%08x r14=%08x r15=%08x\n",$r10,$r11,$r12,$r13,$r14,$r15
b815fcd57b9d input var ( incomplete )
kono
parents: 111
diff changeset
15 printf "r16=%08x r17=%08x r18=%08x r19=%08x r20=%08x r21=%08x\n",$r10,$r11,$r12,$r13,$r14,$r15
b815fcd57b9d input var ( incomplete )
kono
parents: 111
diff changeset
16 printf "f1=%g f2=%g f3=%g f4=%g f5=%g f6=%g\n",$f1,$f2,$f3,$f4,$f5,$f6
b815fcd57b9d input var ( incomplete )
kono
parents: 111
diff changeset
17 printf "f10=%g f11=%g f12=%g f13=%g f14=%g f15=%g\n",$f10,$f11,$f12,$f13,$f14,$f15
b815fcd57b9d input var ( incomplete )
kono
parents: 111
diff changeset
18 printf "f20=%g f21=%g f22=%g f23=%g f24=%g f25=%g\n",$f20,$f21,$f22,$f23,$f24,$f25
b815fcd57b9d input var ( incomplete )
kono
parents: 111
diff changeset
19 end
b815fcd57b9d input var ( incomplete )
kono
parents: 111
diff changeset
20 define sh
b815fcd57b9d input var ( incomplete )
kono
parents: 111
diff changeset
21 regs
b815fcd57b9d input var ( incomplete )
kono
parents: 111
diff changeset
22 x/20i $pc-36
b815fcd57b9d input var ( incomplete )
kono
parents: 111
diff changeset
23 end
111
7aa449aff3e6 floating point
kono
parents:
diff changeset
24 define si
7aa449aff3e6 floating point
kono
parents:
diff changeset
25 stepi
7aa449aff3e6 floating point
kono
parents:
diff changeset
26 regs
7aa449aff3e6 floating point
kono
parents:
diff changeset
27 x/1i $pc
7aa449aff3e6 floating point
kono
parents:
diff changeset
28 end
7aa449aff3e6 floating point
kono
parents:
diff changeset
29 define ni
7aa449aff3e6 floating point
kono
parents:
diff changeset
30 nexti
7aa449aff3e6 floating point
kono
parents:
diff changeset
31 regs
7aa449aff3e6 floating point
kono
parents:
diff changeset
32 x/1i $pc
7aa449aff3e6 floating point
kono
parents:
diff changeset
33 end
7aa449aff3e6 floating point
kono
parents:
diff changeset
34 b errmsg