aboutsummaryrefslogtreecommitdiff
path: root/sim/.Sanitize
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>1997-09-03 22:27:28 +0000
committerNick Clifton <nickc@redhat.com>1997-09-03 22:27:28 +0000
commit2636486389128526c58de1e019eaa6ffdd8a8726 (patch)
treed6c33cf8e4a3a6357e7f40a5013eb24c89839aef /sim/.Sanitize
parent010916c2e62a6e3dec90f641727713a5331a6946 (diff)
downloadgdb-2636486389128526c58de1e019eaa6ffdd8a8726.zip
gdb-2636486389128526c58de1e019eaa6ffdd8a8726.tar.gz
gdb-2636486389128526c58de1e019eaa6ffdd8a8726.tar.bz2
removed v850 sanitization
Added v850/sim-main.h to list of files to keep after sanitization.
Diffstat (limited to 'sim/.Sanitize')
-rw-r--r--sim/.Sanitize54
1 files changed, 7 insertions, 47 deletions
diff --git a/sim/.Sanitize b/sim/.Sanitize
index 593586c..6d4472b 100644
--- a/sim/.Sanitize
+++ b/sim/.Sanitize
@@ -33,21 +33,6 @@ else
lose_these_too="${tic80_files} ${lose_these_too}"
fi
-v850_files="v850"
-if ( echo $* | grep keep\-v850 > /dev/null ) ; then
- keep_these_too="${v850_files} ${keep_these_too}"
-else
- if ( echo $* | grep keep\-v850e > /dev/null ) ; then
- keep_these_too="${v850_files} ${keep_these_too}"
- else
- if ( echo $* | grep keep\-v850eq > /dev/null ) ; then
- keep_these_too="${v850_files} ${keep_these_too}"
- else
- lose_these_too="${v850_files} ${lose_these_too}"
- fi
- fi
-fi
-
lose_these_too="${igen_files} ${lose_these_too}"
# All files listed between the "Things-to-keep:" line and the
@@ -76,6 +61,7 @@ mn10300
ppc
sh
w65
+v850
z8k
Things-to-lose:
@@ -140,22 +126,22 @@ else
fi
v850_files="configure configure.in ChangeLog"
-if ( echo $* | grep keep\-v850 > /dev/null ) ; then
+if ( echo $* | grep keep\-v850eq > /dev/null ) ; then
for i in $v850_files ; do
- if test ! -d $i && (grep sanitize-v850 $i > /dev/null) ; then
+ if test ! -d $i && (grep sanitize-v850eq $i > /dev/null) ; then
if [ -n "${verbose}" ] ; then
- echo Keeping v850 stuff in $i
+ echo Keeping v850eq stuff in $i
fi
fi
done
else
for i in $v850_files ; do
- if test ! -d $i && (grep sanitize-v850 $i > /dev/null) ; then
+ if test ! -d $i && (grep sanitize-v850eq $i > /dev/null) ; then
if [ -n "${verbose}" ] ; then
- echo Removing traces of \"v850\" from $i...
+ echo Removing traces of \"v850eq\" from $i...
fi
cp $i new
- sed '/start\-sanitize\-v850/,/end-\sanitize\-v850/d' < $i > new
+ sed '/start\-sanitize\-v850eq/,/end-\sanitize\-v850eq/d' < $i > new
if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
if [ -n "${verbose}" ] ; then
echo Caching $i in .Recover...
@@ -192,32 +178,6 @@ else
fi
done
fi
-if ( echo $* | grep keep\-v850eq > /dev/null ) ; then
- for i in $v850_files ; do
- if test ! -d $i && (grep sanitize-v850eq $i > /dev/null) ; then
- if [ -n "${verbose}" ] ; then
- echo Keeping v850eq stuff in $i
- fi
- fi
- done
-else
- for i in $v850_files ; do
- if test ! -d $i && (grep sanitize-v850eq $i > /dev/null) ; then
- if [ -n "${verbose}" ] ; then
- echo Removing traces of \"v850eq\" from $i...
- fi
- cp $i new
- sed '/start\-sanitize\-v850eq/,/end-\sanitize\-v850eq/d' < $i > new
- if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
- if [ -n "${verbose}" ] ; then
- echo Caching $i in .Recover...
- fi
- mv $i .Recover
- fi
- mv new $i
- fi
- done
-fi
for i in * ; do