Replacing a bogus file with a semi-bogus one (sharing through devo).
[deliverable/binutils-gdb.git] / gdb / .Sanitize
index 3f5963ad39828eb7ef7ec710e5212555bf10f316..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
 
@@ -834,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...
@@ -861,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.025555 seconds and 4 git commands to generate.