Lines Matching refs:T
10 rm -f $T $T.s $T.o $T.oo $T.aa $T.dis
21 T=`mktemp` || die "cannot create temp file"
35 rm $T
70 touch $T.oo
72 echo All code >> $T.oo
73 echo ======== >> $T.oo
75 echo -n " .$type 0x" > $T.s
76 echo $beforemark | sed -e 's/ /,0x/g; s/[<>()]//g' >> $T.s
77 disas $T
78 cat $T.dis >> $T.oo
79 rm -f $T.o $T.s $T.dis
84 echo Code starting with the faulting instruction > $T.aa
85 echo =========================================== >> $T.aa
87 echo -n " .$type 0x" > $T.s
88 echo $code >> $T.s
89 disas $T
90 cat $T.dis >> $T.aa
95 faultlinenum=$(( $(wc -l $T.oo | cut -d" " -f1) - \
96 $(wc -l $T.aa | cut -d" " -f1) + 3))
98 faultline=`cat $T.dis | head -1 | cut -d":" -f2-`
101 cat $T.oo | sed -e "${faultlinenum}s/^\(.*:\)\(.*\)/\1\*\2\t\t<-- trapping instruction/"
103 cat $T.aa