annotate .gdbinit.mips @ 935:7672a37e7545 default tip

Raspbery PI ARM support begin
author kono
date Sat, 24 Dec 2016 03:02:57 +0000
parents e1a96bdbe527
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
267
e7ab23c992e5 static double define fix
kono
parents:
diff changeset
1 tb main
e7ab23c992e5 static double define fix
kono
parents:
diff changeset
2 # run -s -ob00.s test/basic.c
e7ab23c992e5 static double define fix
kono
parents:
diff changeset
3 # run -s -ob00.s mc-parse.c
e7ab23c992e5 static double define fix
kono
parents:
diff changeset
4 run -s test/code-gen-all.c
e7ab23c992e5 static double define fix
kono
parents:
diff changeset
5 define regs
e7ab23c992e5 static double define fix
kono
parents:
diff changeset
6 printf "pc =%08x fp =%08x r2 =%08x r3 =%08x r4= %08x r5= %08x\n",$pc,$fp,$v0,$v1,$a0,$a1
271
e1a96bdbe527 MIPS continue...
kono
parents: 267
diff changeset
7 printf "r6 =%08x r7 =%08x r8 =%08x r9 =%08x r10=%08x r11=%08x\n",$a2,$a3,$t0,$t1,$t2,$t3
267
e7ab23c992e5 static double define fix
kono
parents:
diff changeset
8 end
e7ab23c992e5 static double define fix
kono
parents:
diff changeset
9 define fregs
e7ab23c992e5 static double define fix
kono
parents:
diff changeset
10 printf "f0=%g f1=%g f2=%g f3=%g f4=%g f5=%g f6=%g\n",$f0,$f1,$f2,$f3,$f4,$f5,$f6
e7ab23c992e5 static double define fix
kono
parents:
diff changeset
11 printf "f10=%g f11=%g f12=%g f13=%g f14=%g f15=%g\n",$f10,$f11,$f12,$f13,$f14,$f15
e7ab23c992e5 static double define fix
kono
parents:
diff changeset
12 end
e7ab23c992e5 static double define fix
kono
parents:
diff changeset
13 define allreg
e7ab23c992e5 static double define fix
kono
parents:
diff changeset
14 printf "pc =%08x fp =%08x r2 =%08x r3 =%08x r4= %08x r5= %08x\n",$pc,$fp,$v0,$v1,$a0,$a1
e7ab23c992e5 static double define fix
kono
parents:
diff changeset
15 printf "r6=%08x r7=%08x r8=%08x r9=%08x r10=%08x\n",$a2,$a3,$t0,$t1,$t2
e7ab23c992e5 static double define fix
kono
parents:
diff changeset
16 printf "r11=%08x r12=%08x r14=%08x r15=%08x r16=%08x\n",$t3,$t4,$t5,$t6,$t7
e7ab23c992e5 static double define fix
kono
parents:
diff changeset
17 printf "r17=%08x r18=%08x r19=%08x r20=%08x r21=%08x\n",$s0,$s1,$s2,$s3,$s4
e7ab23c992e5 static double define fix
kono
parents:
diff changeset
18 printf "r22=%08x r23=%08x r24=%08x r25=%08x r26=%08x\n",$s5,$s6,$s7,$t8,$jp
e7ab23c992e5 static double define fix
kono
parents:
diff changeset
19 printf "r27=%08x r28=%08x r29=%08x r30=%08x r31=%08x\n",$k0,$k1,$gp,$sp,$ra
e7ab23c992e5 static double define fix
kono
parents:
diff changeset
20 printf "f0=%g f1=%g f2=%g f3=%g f4=%g f5=%g f6=%g\n",$f0,$f1,$f2,$f3,$f4,$f5,$f6
e7ab23c992e5 static double define fix
kono
parents:
diff changeset
21 printf "f10=%g f11=%g f12=%g f13=%g f14=%g f15=%g\n",$f10,$f11,$f12,$f13,$f14,$f15
e7ab23c992e5 static double define fix
kono
parents:
diff changeset
22 printf "f20=%g f21=%g f22=%g f23=%g f24=%g f25=%g\n",$f20,$f21,$f22,$f23,$f24,$f25
e7ab23c992e5 static double define fix
kono
parents:
diff changeset
23 end
e7ab23c992e5 static double define fix
kono
parents:
diff changeset
24 define sh
e7ab23c992e5 static double define fix
kono
parents:
diff changeset
25 regs
e7ab23c992e5 static double define fix
kono
parents:
diff changeset
26 x/20i $pc-36
e7ab23c992e5 static double define fix
kono
parents:
diff changeset
27 end
e7ab23c992e5 static double define fix
kono
parents:
diff changeset
28 define si
e7ab23c992e5 static double define fix
kono
parents:
diff changeset
29 stepi
e7ab23c992e5 static double define fix
kono
parents:
diff changeset
30 regs
e7ab23c992e5 static double define fix
kono
parents:
diff changeset
31 x/1i $pc
e7ab23c992e5 static double define fix
kono
parents:
diff changeset
32 end
e7ab23c992e5 static double define fix
kono
parents:
diff changeset
33 define ni
e7ab23c992e5 static double define fix
kono
parents:
diff changeset
34 nexti
e7ab23c992e5 static double define fix
kono
parents:
diff changeset
35 regs
e7ab23c992e5 static double define fix
kono
parents:
diff changeset
36 x/1i $pc
e7ab23c992e5 static double define fix
kono
parents:
diff changeset
37 end
e7ab23c992e5 static double define fix
kono
parents:
diff changeset
38 b errmsg