Lines Matching full:code
3 # Disassemble the Code: line in Linux oopses
26 code=
32 *Code:*)
33 code=$i
40 code="$code $xdump"
50 if [ -z "$code" ]; then
55 echo $code
56 code=`echo $code | sed -e 's/.*Code: //'`
58 width=`expr index "$code" ' '`
111 # @op_bytes: The string of bytes from the Code: line
143 # Return the line number in objdump output to where the IP marker in the Code:
147 # @all_code: code in bytes without the marker
195 marker=`expr index "$code" "\<"`
197 marker=`expr index "$code" "\("`
204 # Code:
206 echo All code >> $T.oo
208 beforemark=`echo "$code"`
217 get_faultlinenum "$code" "$T.dis" $pc_sub
220 # and fix code at-and-after marker
221 code=`echo "$code" | cut -c$((${marker} + 1))-`
226 echo Code starting with the faulting instruction > $T.aa
228 code=`echo $code | sed -e 's/\r//;s/ [<(]/ /;s/[>)] / /;s/ /,0x/g; s/[>)]$//'`
230 echo $code >> $T.s