annotate .gdbinit @ 6:5350f1289f50

*** empty log message ***
author kono
date Fri, 17 Nov 2006 18:26:08 +0900
parents 6bf66c125dbc
children 2735d0b637b6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
6bf66c125dbc Initial revision
kono
parents:
diff changeset
1 b expr
6bf66c125dbc Initial revision
kono
parents:
diff changeset
2 b aexpr
6bf66c125dbc Initial revision
kono
parents:
diff changeset
3 b mexpr
6bf66c125dbc Initial revision
kono
parents:
diff changeset
4 b term
6
5350f1289f50 *** empty log message ***
kono
parents: 0
diff changeset
5
5350f1289f50 *** empty log message ***
kono
parents: 0
diff changeset
6 define regs
5350f1289f50 *** empty log message ***
kono
parents: 0
diff changeset
7 printf "pc =%08x lr =%08x r0 =%08x r1 =%08x r3= %08x r4= %08x\n",$pc,$lr,$r0,$r1,$r3,$r4
5350f1289f50 *** empty log message ***
kono
parents: 0
diff changeset
8 printf "r10=%08x r11=%08x r12=%08x r13=%08x r14=%08x r15=%08x\n",$r10,$r11,$r12,$r13,$r14,$r15
5350f1289f50 *** empty log message ***
kono
parents: 0
diff changeset
9 end
5350f1289f50 *** empty log message ***
kono
parents: 0
diff changeset
10 define fregs
5350f1289f50 *** empty log message ***
kono
parents: 0
diff changeset
11 printf "f1=%g f2=%g f3=%g f4=%g f5=%g f6=%g\n",$f1,$f2,$f3,$f4,$f5,$f6
5350f1289f50 *** empty log message ***
kono
parents: 0
diff changeset
12 printf "f10=%g f11=%g f12=%g f13=%g f14=%g f15=%g\n",$f10,$f11,$f12,$f13,$f14,$f15
5350f1289f50 *** empty log message ***
kono
parents: 0
diff changeset
13 end
5350f1289f50 *** empty log message ***
kono
parents: 0
diff changeset
14 define allreg
5350f1289f50 *** empty log message ***
kono
parents: 0
diff changeset
15 printf "pc =%08x lr =%08x r0 =%08x r1 =%08x r3= %08x r4= %08x\n",$pc,$lr,$r0,$r1,$r3,$r4
5350f1289f50 *** empty log message ***
kono
parents: 0
diff changeset
16 printf "r5=%08x r6=%08x r7=%08x r8=%08x r9=%08x\n",$r5,$r6,$r7,$r8,$r9
5350f1289f50 *** empty log message ***
kono
parents: 0
diff changeset
17 printf "r10=%08x r11=%08x r12=%08x r13=%08x r14=%08x r15=%08x\n",$r10,$r11,$r12,$r13,$r14,$r15
5350f1289f50 *** empty log message ***
kono
parents: 0
diff changeset
18 printf "r16=%08x r17=%08x r18=%08x r19=%08x r20=%08x r21=%08x\n",$r10,$r11,$r12,$r13,$r14,$r15
5350f1289f50 *** empty log message ***
kono
parents: 0
diff changeset
19 printf "f1=%g f2=%g f3=%g f4=%g f5=%g f6=%g\n",$f1,$f2,$f3,$f4,$f5,$f6
5350f1289f50 *** empty log message ***
kono
parents: 0
diff changeset
20 printf "f10=%g f11=%g f12=%g f13=%g f14=%g f15=%g\n",$f10,$f11,$f12,$f13,$f14,$f15
5350f1289f50 *** empty log message ***
kono
parents: 0
diff changeset
21 printf "f20=%g f21=%g f22=%g f23=%g f24=%g f25=%g\n",$f20,$f21,$f22,$f23,$f24,$f25
5350f1289f50 *** empty log message ***
kono
parents: 0
diff changeset
22 end
5350f1289f50 *** empty log message ***
kono
parents: 0
diff changeset
23 define sh
5350f1289f50 *** empty log message ***
kono
parents: 0
diff changeset
24 regs
5350f1289f50 *** empty log message ***
kono
parents: 0
diff changeset
25 x/20i $pc-36
5350f1289f50 *** empty log message ***
kono
parents: 0
diff changeset
26 end
5350f1289f50 *** empty log message ***
kono
parents: 0
diff changeset
27 define si
5350f1289f50 *** empty log message ***
kono
parents: 0
diff changeset
28 stepi
5350f1289f50 *** empty log message ***
kono
parents: 0
diff changeset
29 regs
5350f1289f50 *** empty log message ***
kono
parents: 0
diff changeset
30 x/1i $pc
5350f1289f50 *** empty log message ***
kono
parents: 0
diff changeset
31 end
5350f1289f50 *** empty log message ***
kono
parents: 0
diff changeset
32 define ni
5350f1289f50 *** empty log message ***
kono
parents: 0
diff changeset
33 nexti
5350f1289f50 *** empty log message ***
kono
parents: 0
diff changeset
34 regs
5350f1289f50 *** empty log message ***
kono
parents: 0
diff changeset
35 x/1i $pc
5350f1289f50 *** empty log message ***
kono
parents: 0
diff changeset
36 end
5350f1289f50 *** empty log message ***
kono
parents: 0
diff changeset
37 # b errmsg
5350f1289f50 *** empty log message ***
kono
parents: 0
diff changeset
38 tb main