* procfs.c (procfs_wait): handle syscall events first.
[binutils-gdb.git] / .Sanitize
index a41d1827b3516de513fbb5d545376e524c0c6046..f48927f721841865f7963240ce5c3192a0502e88 100644 (file)
--- a/.Sanitize
+++ b/.Sanitize
@@ -47,8 +47,8 @@
 Do-first:
 
 keep_these_too="${keep_these_too} .cvsignore autoconf automake
-       apache bash 
-       bfd binutils bison byacc cvs deja-gnu dejagnu diff dosrel dvips
+       apache ash bash bfd binutils bison byacc bzip2
+       cvs deja-gnu dejagnu diff dosrel dvips
        emacs emacs19 examples expect fileutils findutils flex
        gas gawk gcc gdb gdbm gdbtest glob gperf gprof grep grez groff
        guile gzip
@@ -63,7 +63,7 @@ keep_these_too="${keep_these_too} .cvsignore autoconf automake
        mpw-README mpw-configure mpw-config.in mpw-build.in mpw-install
        ltconfig ltmain.sh missing ylwrap"
 
-lose_these_too="${lose_these_too} libg++ librx testsuite"
+lose_these_too="${lose_these_too} libg++ librx libdsp testsuite"
 
 cygnus_files="release release-info build-all.mk test-build.mk CYGNUS COPYING.NEWLIB"
 
@@ -138,7 +138,7 @@ else
 fi
 
 # Java stuff
-java_files="boehm-gc libjava"
+java_files="boehm-gc libjava qthreads zip"
 
 if (echo $* | grep keep\-java > /dev/null); then
        keep_these_too="${keep_these_too} ${java_files}"
@@ -181,6 +181,7 @@ ChangeLog
 Makefile.in
 README
 config.guess
+config.if
 config.sub
 configure
 configure.in
@@ -574,24 +575,24 @@ else
        done
 fi
 
-vr5400_files="ChangeLog config.sub"
+cygnus_files="ChangeLog config.sub"
 
-if ( echo $* | grep keep\-vr5400 > /dev/null ) ; then
-       for i in $vr5400_files ; do
-               if test ! -d $i && (grep sanitize-vr5400 $i > /dev/null) ; then
+if ( echo $* | grep keep\-cygnus > /dev/null ) ; then
+       for i in $cygnus_files ; do
+               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...
@@ -659,6 +660,35 @@ else
        done
 fi
 
+dsp_files="ChangeLog Makefile.in configure.in"
+if ( echo $* | grep keep\-dsp > /dev/null ) ; then
+        for i in $dsp_files ; do
+                if test ! -d $i && (grep sanitize-dsp $i > /dev/null) ; then
+                        if [ -n "${verbose}" ] ; then
+                                echo Keeping dsp stuff in $i
+                        fi
+                fi
+        done
+else
+        for i in * ; do
+                if test ! -d $i && (grep sanitize-dsp $i > /dev/null) ; then
+                        if [ -n "${verbose}" ] ; then
+                                echo Removing traces of \"dsp\" from $i...
+                        fi
+                        cp $i new
+                        sed '/start\-sanitize\-dsp/,/end-\sanitize\-dsp/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
+
+
 beos_files="ChangeLog configure.in"
 if ( echo $* | grep keep\-beos > /dev/null ) ; then
        for i in $beos_files ; do