Modified to produce correct output with new version of sis.

This commit is contained in:
Joel Sherrill
1999-10-25 14:09:13 +00:00
parent 461caa5c06
commit 538db54642

View File

@@ -183,6 +183,7 @@ do
*) *)
echo "load $tfile" echo "load $tfile"
echo "go 0x02000000" echo "go 0x02000000"
echo ""
echo "perf" echo "perf"
echo "quit" echo "quit"
;; ;;
@@ -239,13 +240,17 @@ do
;; ;;
*) *)
output_it=1 output_it=1
sed -e '1,12d' \ sed -e '1,9d' \
-e 's/ -e 's/
//' -e '/^$/d' < ${logfile}.tmp | //' -e '/^$/d' < ${logfile}.tmp |
while read line while read line
do do
if [ $output_it -eq 1 ] ; then if [ $output_it -eq 1 ] ; then
if [ "$line" = "sis> perf" ] ; then if [ "$line" = "sis> perf" ] ; then
output_it=0
elif [ "$line" = "sis> quit" ] ; then
output_it=0
elif [ "$line" = "sis>" ] ; then
output_it=0 output_it=0
else else
echo "$line" echo "$line"