projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'reset/of-get-optional-exclusive' of git://git.pengutronix.de/pza/linux...
[linux-2.6-microblaze.git]
/
scripts
/
decodecode
diff --git
a/scripts/decodecode
b/scripts/decodecode
index
31d884e
..
c711a19
100755
(executable)
--- a/
scripts/decodecode
+++ b/
scripts/decodecode
@@
-126,7
+126,7
@@
if [ $marker -ne 0 ]; then
fi
echo Code starting with the faulting instruction > $T.aa
echo =========================================== >> $T.aa
fi
echo Code starting with the faulting instruction > $T.aa
echo =========================================== >> $T.aa
-code=`echo $code | sed -e 's/ [<(]/ /;s/[>)] / /;s/ /,0x/g; s/[>)]$//'`
+code=`echo $code | sed -e 's/
\r//;s/
[<(]/ /;s/[>)] / /;s/ /,0x/g; s/[>)]$//'`
echo -n " .$type 0x" > $T.s
echo $code >> $T.s
disas $T 0
echo -n " .$type 0x" > $T.s
echo $code >> $T.s
disas $T 0