aboutsummaryrefslogtreecommitdiff
path: root/.Sanitize
diff options
context:
space:
mode:
authorJ.T. Conklin <jtc@acorntoolworks.com>1996-08-20 21:30:41 +0000
committerJ.T. Conklin <jtc@acorntoolworks.com>1996-08-20 21:30:41 +0000
commit3f5d1c2c1e10dc3f3362320d2a29a1aa6c9668a3 (patch)
tree54841bdd226ab9e5d9959c54e1970ff1e8afeb9e /.Sanitize
parentbb5638c637adbbd64ec1986417d8650a0fabd975 (diff)
downloadgdb-3f5d1c2c1e10dc3f3362320d2a29a1aa6c9668a3.zip
gdb-3f5d1c2c1e10dc3f3362320d2a29a1aa6c9668a3.tar.gz
gdb-3f5d1c2c1e10dc3f3362320d2a29a1aa6c9668a3.tar.bz2
* configure.in (v850-*-*): Set up initial $noconfigdirs.
* config.sub (basic_machine): Recognize v850.
Diffstat (limited to '.Sanitize')
-rw-r--r--.Sanitize29
1 files changed, 29 insertions, 0 deletions
diff --git a/.Sanitize b/.Sanitize
index 5f4c5c4..ddfd927 100644
--- a/.Sanitize
+++ b/.Sanitize
@@ -299,6 +299,35 @@ else
done
fi
+v850_files="ChangeLog config.sub configure.in"
+
+if ( echo $* | grep keep\-v850 > /dev/null ) ; then
+ for i in $v850_files ; do
+ if test ! -d $i && (grep sanitize-v850 $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Keeping v850 stuff in $i
+ fi
+ fi
+ done
+else
+ for i in * ; do
+ if test ! -d $i && (grep sanitize-v850 $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Removing traces of \"v850\" from $i...
+ fi
+ cp $i new
+ sed '/start\-sanitize\-v850/,/end-\sanitize\-v850/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 ( echo $* | grep lose\-gdbtk > /dev/null ) ; then
echo Catering to RMS by removing traces of \"gdbtk\"...
if [ -n "${verbose}" ] ; then