Sanitize away sh4 stuff for now.
[deliverable/binutils-gdb.git] / gdb / .Sanitize
index 670000655c5d7204ff89b9403fc14d625672cefa..06d8765c5d4d0b85943ef45b96e2060c7b772f8c 100644 (file)
@@ -102,20 +102,6 @@ else
        fi
 fi
 
-m32r_files="m32r-tdep.c m32r-rom.c m32r-stub.c"
-
-if ( echo $* | grep keep\-m32r > /dev/null ) ; then
-       keep_these_too="${m32r_files} ${keep_these_too}"
-       if [ -n "${verbose}" ] ; then
-               echo Keeping ${m32r_files}
-       fi
-else
-       lose_these_too="${m32r_files} ${lose_these_too}"
-       if [ -n "${verbose}" ] ; then
-               echo Deleting ${m32r_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
@@ -124,7 +110,6 @@ fi
 
 Things-to-keep:
 
-.gdbinit
 29k-share
 COPYING
 ChangeLog
@@ -236,6 +221,7 @@ gdb.gdb
 gdba.el
 gdbcmd.h
 gdbcore.h
+gdbinit.in
 gdbserver
 gdbthread.h
 gdbtypes.c
@@ -277,6 +263,10 @@ inftarg.c
 irix4-nat.c
 irix5-nat.c
 isi-xdep.c
+java-exp.y
+java-lang.c
+java-lang.h
+java-valprint.c
 kdb-start.c
 language.c
 language.h
@@ -287,6 +277,9 @@ m2-lang.h
 m2-typeprint.c
 m2-valprint.c
 m3-nat.c
+m32r-rom.c
+m32r-stub.c
+m32r-tdep.c
 m68k-stub.c
 m68k-tdep.c
 m68knbsd-nat.c
@@ -353,7 +346,6 @@ remote-mm.c
 remote-nindy.c
 remote-nrom.c
 remote-os9k.c
-remote-pa.c
 remote-rdp.c
 remote-sim.c
 remote-st.c
@@ -575,6 +567,33 @@ else
        done
 fi
 
+if ( echo $* | grep keep\-sh4 > /dev/null ) ; then
+       for i in * ; do
+               if test ! -d $i && (grep sanitize-sh4 $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Keeping sh4 stuff in $i
+                       fi
+               fi
+       done
+else
+       for i in * ; do
+               if test ! -d $i && (grep sanitize-sh4 $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Removing traces of \"sh4\" from $i...
+                       fi
+                       cp $i new
+                       sed '/start\-sanitize\-sh4/,/end-\sanitize\-sh4/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\-r5900 > /dev/null ) ; then
        for i in * ; do
                if test ! -d $i && (grep sanitize-r5900 $i > /dev/null) ; then
@@ -602,22 +621,22 @@ else
        done
 fi
 
-if ( echo $* | grep keep\-m32r > /dev/null ) ; then
+if ( echo $* | grep keep\-tx39 > /dev/null ) ; then
        for i in * ; do
-               if test ! -d $i && (grep sanitize-m32r $i > /dev/null) ; then
+               if test ! -d $i && (grep sanitize-tx39 $i > /dev/null) ; then
                        if [ -n "${verbose}" ] ; then
-                               echo Keeping m32r stuff in $i
+                               echo Keeping tx39 stuff in $i
                        fi
                fi
        done
 else
        for i in * ; do
-               if test ! -d $i && (grep sanitize-m32r $i > /dev/null) ; then
+               if test ! -d $i && (grep sanitize-tx39 $i > /dev/null) ; then
                        if [ -n "${verbose}" ] ; then
-                               echo Removing traces of \"m32r\" from $i...
+                               echo Removing traces of \"tx39\" from $i...
                        fi
                        cp $i new
-                       sed '/start\-sanitize\-m32r/,/end-\sanitize\-m32r/d' < $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...
This page took 0.025526 seconds and 4 git commands to generate.