aboutsummaryrefslogtreecommitdiff
path: root/sim/.Sanitize
diff options
context:
space:
mode:
authorGavin Romig-Koch <gavin@redhat.com>1998-03-09 20:22:45 +0000
committerGavin Romig-Koch <gavin@redhat.com>1998-03-09 20:22:45 +0000
commitd843d7ca34a11802c15bf99912c1989d52a2e3d1 (patch)
treee0b5bb104da1097d38ff13571d30ca096c16ab2c /sim/.Sanitize
parentc391655e30a994ec207e8e352b21a078a9c316bd (diff)
downloadgdb-d843d7ca34a11802c15bf99912c1989d52a2e3d1.zip
gdb-d843d7ca34a11802c15bf99912c1989d52a2e3d1.tar.gz
gdb-d843d7ca34a11802c15bf99912c1989d52a2e3d1.tar.bz2
* mips/vr4320.igen: Mark the insn in here as vr4320 only.
Reorder the insns.
Diffstat (limited to 'sim/.Sanitize')
-rw-r--r--sim/.Sanitize28
1 files changed, 28 insertions, 0 deletions
diff --git a/sim/.Sanitize b/sim/.Sanitize
index 3df70e7..531d802 100644
--- a/sim/.Sanitize
+++ b/sim/.Sanitize
@@ -151,6 +151,34 @@ else
done
fi
+vr4320_files="ChangeLog"
+if ( echo $* | grep keep\-vr4320 > /dev/null ) ; then
+ for i in $vr4320_files ; do
+ if test ! -d $i && (grep sanitize-vr4320 $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Keeping vr4320 stuff in $i
+ fi
+ fi
+ done
+else
+ for i in $vr4320_files ; do
+ if test ! -d $i && (grep sanitize-vr4320 $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Removing traces of \"vr4320\" from $i...
+ fi
+ cp $i new
+ sed '/start\-sanitize\-vr4320/,/end-\sanitize\-vr4320/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
if test ! -d $i && (grep sanitize $i > /dev/null) ; then
echo '***' Some mentions of Sanitize are still left in $i! 1>&2