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" ' '`
121 # @op_bytes: The string of bytes from the Code: line
158 # Return the line number in objdump output to where the IP marker in the Code:
162 # @all_code: code in bytes without the marker
210 marker=`expr index "$code" "\<"`
212 marker=`expr index "$code" "\("`
219 # Code:
221 echo All code >> $T.oo
223 beforemark=`echo "$code"`
232 get_faultlinenum "$code" "$T.dis" $pc_sub
235 # and fix code at-and-after marker
236 code=`echo "$code" | cut -c$((${marker} + 1))-`
241 echo Code starting with the faulting instruction > $T.aa
243 code=`echo $code | sed -e 's/\r//;s/ [<(]/ /;s/[>)] / /;s/ /,0x/g; s/[>)]$//'`
245 echo $code >> $T.s