Replacing a bogus file with a semi-bogus one (sharing through devo).
[deliverable/binutils-gdb.git] / gdb / .Sanitize
index 0a651278f9302238748be139fefc0b239a0c0cec..72277209c65368378ad5dbabcbd6de8a05a60fca 100644 (file)
@@ -29,23 +29,6 @@ else
        fi
 fi
 
-# WinGDB files are not really ready to be part of FSF releases, but
-# keep them for progressives and such.
-
-mswin_files="mswin"
-
-if ( echo $* | grep lose\-mswin > /dev/null ) ; then
-       lose_these_too="${mswin_files} ${lose_these_too}"
-       if [ -n "${verbose}" ] ; then
-               echo Deleting ${mswin_files}
-       fi
-else
-       keep_these_too="${mswin_files} ${keep_these_too}"
-       if [ -n "${verbose}" ] ; then
-               echo Keeping ${mswin_files}
-       fi
-fi
-
 tic80_files="tic80-tdep.c"
 
 if ( echo $* | grep keep\-tic80 > /dev/null ) ; then
@@ -102,6 +85,20 @@ else
        fi
 fi
 
+carp_files="carp-tdep.c"
+
+if ( echo $* | grep keep\-carp > /dev/null ) ; then
+       keep_these_too="${carp_files} ${keep_these_too}"
+       if [ -n "${verbose}" ] ; then
+               echo Keeping ${carp_files}
+       fi
+else
+       lose_these_too="${carp_files} ${lose_these_too}"
+       if [ -n "${verbose}" ] ; then
+               echo Deleting ${carp_files}
+       fi
+fi
+
 # All files listed between the "Things-to-keep:" line and the
 # "Files-to-sed:" line will be kept.  All other files will be removed.
 # Directories listed in this section will have their own Sanitize
@@ -464,6 +461,7 @@ z8k-tdep.c
 
 Things-to-lose:
 
+GDB-HACK-RULES
 HOW_TO_RELEASE
 gdbcfgxref
 
@@ -609,33 +607,6 @@ else
        done
 fi
 
-if ( echo $* | grep keep\-tx39 > /dev/null ) ; then
-       for i in * ; do
-               if test ! -d $i && (grep sanitize-tx39 $i > /dev/null) ; then
-                       if [ -n "${verbose}" ] ; then
-                               echo Keeping tx39 stuff in $i
-                       fi
-               fi
-       done
-else
-       for i in * ; do
-               if test ! -d $i && (grep sanitize-tx39 $i > /dev/null) ; then
-                       if [ -n "${verbose}" ] ; then
-                               echo Removing traces of \"tx39\" from $i...
-                       fi
-                       cp $i new
-                       sed '/start\-sanitize\-tx39/,/end-\sanitize\-tx39/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 keep\-tx49 > /dev/null ) ; then
        for i in * ; do
                if test ! -d $i && (grep sanitize-tx49 $i > /dev/null) ; then
@@ -690,22 +661,22 @@ else
        done
 fi
 
-if ( echo $* | grep keep\-vr5400 > /dev/null ) ; then
+if ( echo $* | grep keep\-cygnus > /dev/null ) ; then
        for i in * ; do
-               if test ! -d $i && (grep sanitize-vr5400 $i > /dev/null) ; then
+               if test ! -d $i && (grep sanitize-cygnus $i > /dev/null) ; then
                        if [ -n "${verbose}" ] ; then
-                               echo Keeping vr5400 stuff in $i
+                               echo Keeping cygnus stuff in $i
                        fi
                fi
        done
 else
        for i in * ; do
-               if test ! -d $i && (grep sanitize-vr5400 $i > /dev/null) ; then
+               if test ! -d $i && (grep sanitize-cygnus $i > /dev/null) ; then
                        if [ -n "${verbose}" ] ; then
-                               echo Removing traces of \"vr5400\" from $i...
+                               echo Removing traces of \"cygnus\" from $i...
                        fi
                        cp $i new
-                       sed '/start\-sanitize\-vr5400/,/end-\sanitize\-vr5400/d' < $i > new
+                       sed '/start\-sanitize\-cygnus/,/end-\sanitize\-cygnus/d' < $i > new
                        if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
                                if [ -n "${verbose}" ] ; then
                                        echo Caching $i in .Recover...
@@ -861,22 +832,22 @@ else
        done
 fi
 
-if ( echo $* | grep keep\-mswin > /dev/null ) ; then
+if ( echo $* | grep keep\-java > /dev/null ) ; then
        for i in * ; do
-               if test ! -d $i && (grep sanitize-mswin $i > /dev/null) ; then
+               if test ! -d $i && (grep sanitize-java $i > /dev/null) ; then
                        if [ -n "${verbose}" ] ; then
-                               echo Keeping mswin stuff in $i
+                               echo Keeping java stuff in $i
                        fi
                fi
        done
 else
        for i in * ; do
-               if test ! -d $i && (grep sanitize-mswin $i > /dev/null) ; then
+               if test ! -d $i && (grep sanitize-java $i > /dev/null) ; then
                        if [ -n "${verbose}" ] ; then
-                               echo Removing traces of \"mswin\" from $i...
+                               echo Removing traces of \"java\" from $i...
                        fi
                        cp $i new
-                       sed '/start\-sanitize\-mswin/,/end-\sanitize\-mswin/d' < $i > new
+                       sed '/start\-sanitize\-java/,/end-\sanitize\-java/d' < $i > new
                        if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
                                if [ -n "${verbose}" ] ; then
                                        echo Caching $i in .Recover...
@@ -888,22 +859,22 @@ else
        done
 fi
 
-if ( echo $* | grep keep\-java > /dev/null ) ; then
+if ( echo $* | grep keep\-carp > /dev/null ) ; then
        for i in * ; do
-               if test ! -d $i && (grep sanitize-java $i > /dev/null) ; then
+               if test ! -d $i && (grep sanitize-carp $i > /dev/null) ; then
                        if [ -n "${verbose}" ] ; then
-                               echo Keeping java stuff in $i
+                               echo Keeping carp stuff in $i
                        fi
                fi
        done
 else
        for i in * ; do
-               if test ! -d $i && (grep sanitize-java $i > /dev/null) ; then
+               if test ! -d $i && (grep sanitize-carp $i > /dev/null) ; then
                        if [ -n "${verbose}" ] ; then
-                               echo Removing traces of \"java\" from $i...
+                               echo Removing traces of \"carp\" from $i...
                        fi
                        cp $i new
-                       sed '/start\-sanitize\-java/,/end-\sanitize\-java/d' < $i > new
+                       sed '/start\-sanitize\-carp/,/end-\sanitize\-carp/d' < $i > new
                        if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
                                if [ -n "${verbose}" ] ; then
                                        echo Caching $i in .Recover...
This page took 0.025601 seconds and 4 git commands to generate.