annotate .gdbinit.powerpc @ 111:7aa449aff3e6

floating point
author kono
date Wed, 19 Mar 2003 18:33:25 +0900
parents
children b815fcd57b9d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
7aa449aff3e6 floating point
kono
parents:
diff changeset
1 tb main
7aa449aff3e6 floating point
kono
parents:
diff changeset
2 r -s mc-code-powerpc.c
7aa449aff3e6 floating point
kono
parents:
diff changeset
3 define regs
7aa449aff3e6 floating point
kono
parents:
diff changeset
4 printf "lr =%08x pc =%08x r0 =%08x r1 =%08x r3= %08x r4= %08x\n",$lr,$pc,$r0,$r1,$r3,$r4
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
7aa449aff3e6 floating point
kono
parents:
diff changeset
11 define si
7aa449aff3e6 floating point
kono
parents:
diff changeset
12 stepi
7aa449aff3e6 floating point
kono
parents:
diff changeset
13 regs
7aa449aff3e6 floating point
kono
parents:
diff changeset
14 x/1i $pc
7aa449aff3e6 floating point
kono
parents:
diff changeset
15 end
7aa449aff3e6 floating point
kono
parents:
diff changeset
16 define ni
7aa449aff3e6 floating point
kono
parents:
diff changeset
17 nexti
7aa449aff3e6 floating point
kono
parents:
diff changeset
18 regs
7aa449aff3e6 floating point
kono
parents:
diff changeset
19 x/1i $pc
7aa449aff3e6 floating point
kono
parents:
diff changeset
20 end
7aa449aff3e6 floating point
kono
parents:
diff changeset
21 b errmsg