comparison .gdbinit.powerpc @ 111:7aa449aff3e6

floating point
author kono
date Wed, 19 Mar 2003 18:33:25 +0900
parents
children b815fcd57b9d
comparison
equal deleted inserted replaced
110:fb502a0071f8 111:7aa449aff3e6
1 tb main
2 r -s mc-code-powerpc.c
3 define regs
4 printf "lr =%08x pc =%08x r0 =%08x r1 =%08x r3= %08x r4= %08x\n",$lr,$pc,$r0,$r1,$r3,$r4
5 printf "r10=%08x r11=%08x r12=%08x r13=%08x r14=%08x r15=%08x\n",$r10,$r11,$r12,$r13,$r14,$r15
6 end
7 define fregs
8 printf "f1=%g f2=%g f3=%g f4=%g f5=%g f6=%g\n",$f1,$f2,$f3,$f4,$f5,$f6
9 printf "f10=%g f11=%g f12=%g f13=%g f14=%g f15=%g\n",$f10,$f11,$f12,$f13,$f14,$f15
10 end
11 define si
12 stepi
13 regs
14 x/1i $pc
15 end
16 define ni
17 nexti
18 regs
19 x/1i $pc
20 end
21 b errmsg