]> Git Repo - binutils.git/blobdiff - gdb/.Sanitize
Lose ns32k-opcode.h.
[binutils.git] / gdb / .Sanitize
index c58b28d26dfd510f53b15a1279cbf97a9b6be880..b7f6b52159368965e9110bd92d14a91ee197ab56 100644 (file)
@@ -31,7 +31,7 @@ fi
 
 gm_files="mpw-xconfig.in mpw-init.c ChangeLog.gm"
 
-if ( echo $* | grep keep\-mpw > /dev/null ) ; then
+if ( echo $* | grep keep\-gm > /dev/null ) ; then
        keep_these_too="${gm_files} ${keep_these_too}"
        if [ -n "${verbose}" ] ; then
                echo Keeping ${gm_files}
@@ -43,6 +43,20 @@ else
        fi
 fi
 
+hpread_files="hpread.c ChangeLog.hpread"
+
+if ( echo $* | grep keep\-hpread > /dev/null ) ; then
+       keep_these_too="${hpread_files} ${keep_these_too}"
+       if [ -n "${verbose}" ] ; then
+               echo Keeping ${hpread_files}
+       fi
+else
+       lose_these_too="${hpread_files} ${lose_these_too}"
+       if [ -n "${verbose}" ] ; then
+               echo Deleting ${hpread_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
@@ -112,6 +126,7 @@ core.c
 coredep.c
 corelow.c
 cp-valprint.c
+cxux-nat.c
 dbxread.c
 dcache.c
 dcache.h
@@ -130,6 +145,11 @@ eval.c
 exec.c
 expprint.c
 expression.h
+f-exp.y
+f-lang.c
+f-lang.h
+f-typeprint.c
+f-valprint.c
 findvar.c
 fork-child.c
 frame.h
@@ -140,6 +160,8 @@ gdba.el
 gdbcmd.h
 gdbcore.h
 gdbserver
+gdbtk.c
+gdbtk.tcl
 gdbtypes.c
 gdbtypes.h
 go32-xdep.c
@@ -208,14 +230,12 @@ news-xdep.c
 nindy-share
 nindy-tdep.c
 nlmread.c
-ns32k-opcode.h
 ns32k-pinsn.c
 ns32km3-nat.c
 objfiles.c
 objfiles.h
 os9kread.c
 osfsolib.c
-paread.c
 parse.c
 parser-defs.h
 partial-stab.h
@@ -239,6 +259,7 @@ remote-mm.c
 remote-mon.c
 remote-nindy.c
 remote-os9k.c
+remote-pa.c
 remote-sim.c
 remote-sim.h
 remote-st.c
@@ -252,6 +273,7 @@ rs6000-nat.c
 rs6000-pinsn.c
 rs6000-tdep.c
 saber.suppress
+ser-e7kpc.c
 ser-go32.c
 ser-tcp.c
 ser-unix.c
@@ -261,6 +283,7 @@ sh-tdep.c
 signals.h
 solib.c
 solib.h
+somread.c
 source.c
 sp64-tdep.c
 sparc-nat.c
@@ -316,9 +339,6 @@ z8k-tdep.c
 
 
 # Things which are explicitly *not* kept, for now.
-# deblib/              - CVS won't let you blow away directories yet,
-#                        so this is still around from when Stu checked
-#                        it in, as part of Lucid support.
 # energize             - Part of Lucid support.
 # energize-patches     - Part of Lucid support.
 # energize.c           - Part of Lucid support.
@@ -335,7 +355,6 @@ z8k-tdep.c
 
 Things-to-lose:
 
-deblib
 energize
 energize-patches
 energize.c
@@ -372,4 +391,30 @@ else
        done
 fi
 
+echo Removing traces of \"hpread\"...
+
+# Don't try to clean directories here, as the 'mv' command will fail.
+# Also, grep fails on NFS mounted directories.
+if ( echo $* | grep keep\-hpread > /dev/null ) ; then
+       for i in * ; do
+               if test ! -d $i && (grep sanitize-hpread $i > /dev/null) ; then
+                       echo Keeping hpread stuff in $i
+               fi
+       done
+else
+       for i in * ; do
+               if test ! -d $i && (grep sanitize-hpread $i > /dev/null) ; then
+                       echo Removing traces of \"hpread\" out of $i...
+                       cp $i new
+                       sed '/start\-sanitize\-hpread/,/end-\sanitize\-hpread/d' < $i > new
+                       if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
+                               echo Caching $i in .Recover...
+                               mv $i .Recover
+                       fi
+                       mv new $i
+               fi
+       done
+fi
+
+
 # End of file.
This page took 0.027694 seconds and 4 git commands to generate.