X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=scripts%2Fdecodecode;h=fbdb325cdf4f09e8fe34c76de9e2d1c26a82d41b;hb=70f30cfe5b892fcb7f98e7df72ed6ccfe3225628;hp=ba8b8d5834e67922e0028dbec04b9e7cebc2766d;hpb=d3a5fd3c987c5e341bf78b79ef4d81080081b7d2;p=linux-2.6-microblaze.git diff --git a/scripts/decodecode b/scripts/decodecode index ba8b8d5834e6..fbdb325cdf4f 100755 --- a/scripts/decodecode +++ b/scripts/decodecode @@ -126,7 +126,7 @@ faultlinenum=$(( $(wc -l $T.oo | cut -d" " -f1) - \ faultline=`cat $T.dis | head -1 | cut -d":" -f2-` faultline=`echo "$faultline" | sed -e 's/\[/\\\[/g; s/\]/\\\]/g'` -cat $T.oo | sed -e "${faultlinenum}s/^\(.*:\)\(.*\)/\1\*\2\t\t<-- trapping instruction/" +cat $T.oo | sed -e "${faultlinenum}s/^\([^:]*:\)\(.*\)/\1\*\2\t\t<-- trapping instruction/" echo cat $T.aa cleanup