Lines Matching full:code
3 # Disassemble the Code: line in Linux oopses
24 code=
30 *Code:*)
31 code=$i
38 code="$code $xdump"
48 if [ -z "$code" ]; then
53 echo $code
54 code=`echo $code | sed -e 's/.*Code: //'`
56 width=`expr index "$code" ' '`
105 marker=`expr index "$code" "\<"`
107 marker=`expr index "$code" "\("`
115 echo All code >> $T.oo
117 beforemark=`echo "$code"`
124 # and fix code at-and-after marker
125 code=`echo "$code" | cut -c$((${marker} + 1))-`
127 echo Code starting with the faulting instruction > $T.aa
129 code=`echo $code | sed -e 's/ [<(]/ /;s/[>)] / /;s/ /,0x/g; s/[>)]$//'`
131 echo $code >> $T.s
135 # (lines of whole $T.oo) - (lines of $T.aa, i.e. "Code starting") + 3,