aboutsummaryrefslogtreecommitdiff
path: root/.Sanitize
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1996-12-28 06:31:43 +0000
committerFred Fish <fnf@specifix.com>1996-12-28 06:31:43 +0000
commit962873d57435cafc211c6e8b3bd704289fbc24de (patch)
tree3c4ed88cc27593b7df9657fe82b56df65fa986e7 /.Sanitize
parent6455664321ced2cc83219f9ec1b4b943152ea0dd (diff)
downloadgdb-962873d57435cafc211c6e8b3bd704289fbc24de.zip
gdb-962873d57435cafc211c6e8b3bd704289fbc24de.tar.gz
gdb-962873d57435cafc211c6e8b3bd704289fbc24de.tar.bz2
* config.sub (case $basic_machine): Add tic80 entries.
Diffstat (limited to '.Sanitize')
-rw-r--r--.Sanitize29
1 files changed, 29 insertions, 0 deletions
diff --git a/.Sanitize b/.Sanitize
index 37641be..cc5d7ad 100644
--- a/.Sanitize
+++ b/.Sanitize
@@ -361,6 +361,35 @@ else
done
fi
+tic80_files="ChangeLog config.sub configure.in"
+
+if ( echo $* | grep keep\-tic80 > /dev/null ) ; then
+ for i in $tic80_files ; do
+ if test ! -d $i && (grep sanitize-tic80 $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Keeping tic80 stuff in $i
+ fi
+ fi
+ done
+else
+ for i in * ; do
+ if test ! -d $i && (grep sanitize-tic80 $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Removing traces of \"tic80\" from $i...
+ fi
+ cp $i new
+ sed '/start\-sanitize\-tic80/,/end-\sanitize\-tic80/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