aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>1998-02-06 03:27:55 +0000
committerDoug Evans <dje@google.com>1998-02-06 03:27:55 +0000
commitf3534b6867f36ddbe0373216999ca9b84b1b5cee (patch)
treeb93e90bc67946f979afc32a5579f568c8270f7d8
parent93854f7c7ccf541289f6e11073333631db7e61fc (diff)
downloadgdb-f3534b6867f36ddbe0373216999ca9b84b1b5cee.zip
gdb-f3534b6867f36ddbe0373216999ca9b84b1b5cee.tar.gz
gdb-f3534b6867f36ddbe0373216999ca9b84b1b5cee.tar.bz2
sky sanitization
-rw-r--r--sim/mips/.Sanitize30
1 files changed, 30 insertions, 0 deletions
diff --git a/sim/mips/.Sanitize b/sim/mips/.Sanitize
index c2e1470..29ff045 100644
--- a/sim/mips/.Sanitize
+++ b/sim/mips/.Sanitize
@@ -101,6 +101,36 @@ else
fi
+sky_files="ChangeLog Makefile.in configure configure.in"
+
+if ( echo $* | grep keep\-sky > /dev/null ) ; then
+ for i in $sky_files ; do
+ if test ! -d $i && (grep sanitize-sky $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Keeping sky stuff in $i
+ fi
+ fi
+ done
+else
+ for i in * ; do
+ if test ! -d $i && (grep sanitize-sky $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Removing traces of \"sky\" from $i...
+ fi
+ cp $i new
+ sed '/start\-sanitize\-sky/,/end-\sanitize\-sky/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
+
+
tx19_files="ChangeLog configure configure.in sim-main.h interp.c gencode.c mips.igen mips.dc m16.igen"
if ( echo $* | grep keep\-tx19 > /dev/null ) ; then