Lines Matching full:code
3 # Disassemble the Code: line in Linux oopses
25 code=
31 *Code:*)
32 code=$i
39 code="$code $xdump"
49 if [ -z "$code" ]; then
51 die "Code line not found"
54 echo $code
55 code=`echo $code | sed -e 's/.*Code: //'`
57 width=`expr index "$code" ' '`
120 # @op_bytes: The string of bytes from the Code: line
157 # Return the line number in objdump output to where the IP marker in the Code:
161 # @all_code: code in bytes without the marker
209 marker=`expr index "$code" "\<"`
211 marker=`expr index "$code" "\("`
218 # Code:
220 echo All code >> $T.oo
222 beforemark=`echo "$code"`
231 get_faultlinenum "$code" "$T.dis" $pc_sub
234 # and fix code at-and-after marker
235 code=`echo "$code" | cut -c$((${marker} + 1))-`
240 echo Code starting with the faulting instruction > $T.aa
242 code=`echo $code | sed -e 's/\r//;s/ [<(]/ /;s/[>)] / /;s/ /,0x/g; s/[>)]$//'`
244 echo $code >> $T.s