aboutsummaryrefslogtreecommitdiff
path: root/.Sanitize
diff options
context:
space:
mode:
authorMartin Hunt <hunt@redhat.com>1997-02-19 01:34:14 +0000
committerMartin Hunt <hunt@redhat.com>1997-02-19 01:34:14 +0000
commitc2304cbab66a808007a62aa84d8a381753528657 (patch)
tree5fa2e8fcc391b8833e6bd0c95b5d04c00253a358 /.Sanitize
parentfd8d7c31c0b9b4fc9fa7ca9e6d38e4843cf2ff65 (diff)
downloadgdb-c2304cbab66a808007a62aa84d8a381753528657.zip
gdb-c2304cbab66a808007a62aa84d8a381753528657.tar.gz
gdb-c2304cbab66a808007a62aa84d8a381753528657.tar.bz2
Tue Feb 18 17:32:42 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
* config.sub, configure.in: Add d30v target cpu.
Diffstat (limited to '.Sanitize')
-rw-r--r--.Sanitize33
1 files changed, 33 insertions, 0 deletions
diff --git a/.Sanitize b/.Sanitize
index a5c3f76..79e0140 100644
--- a/.Sanitize
+++ b/.Sanitize
@@ -271,6 +271,39 @@ else
fi
if [ -n "${verbose}" ] ; then
+ echo Processing \"d30v\"...
+fi
+
+d30v_files="ChangeLog config.sub configure.in"
+
+if ( echo $* | grep keep\-d30v > /dev/null ) ; then
+ for i in $d30v_files ; do
+ if test ! -d $i && (grep sanitize-d30v $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Keeping d30v stuff in $i
+ fi
+ fi
+ done
+else
+ for i in * ; do
+ if test ! -d $i && (grep sanitize-d30v $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Removing traces of \"d30v\" from $i...
+ fi
+ cp $i new
+ sed '/start\-sanitize\-d30v/,/end-\sanitize\-d30v/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
+
+if [ -n "${verbose}" ] ; then
echo Processing \"m32r\"...
fi