1999-01-15 Fernando Nasser <fnasser@totem.to.cygnus.com>
[deliverable/binutils-gdb.git] / gdb / .Sanitize
index dc62c14c6fd454a5871303a6934542eb0c56a003..4a714721dd03d5947489754f5b1902bebb1b1068 100644 (file)
@@ -29,6 +29,20 @@ else
        fi
 fi
 
+kod_files="kod.c kodecosdll.c"
+
+if ( echo $* | grep keep\-kod > /dev/null ) ; then
+       keep_these_too="${kod_files} ${keep_these_too}"
+       if [ -n "${verbose}" ] ; then
+               echo Keeping ${kod_files}
+       fi
+else
+       lose_these_too="${kod_files} ${lose_these_too}"
+       if [ -n "${verbose}" ] ; then
+               echo Deleting ${kod_files}
+       fi
+fi
+
 tic80_files="tic80-tdep.c"
 
 if ( echo $* | grep keep\-tic80 > /dev/null ) ; then
@@ -85,6 +99,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
@@ -104,6 +132,7 @@ ChangeLog-94
 ChangeLog-95
 ChangeLog-96
 ChangeLog-97
+ChangeLog-98
 Makefile.in
 NEWS
 README
@@ -204,6 +233,7 @@ f-typeprint.c
 f-valprint.c
 findvar.c
 fork-child.c
+fr30-tdep.c
 frame.h
 gdb-stabs.h
 gdb.1
@@ -211,6 +241,8 @@ gdb.gdb
 gdb_stat.h
 gdb_string.h
 gdba.el
+gdbarch.c
+gdbarch.h
 gdbcmd.h
 gdbcore.h
 gdbinit.in
@@ -227,12 +259,15 @@ gould-tdep.c
 gould-xdep.c
 h8300-tdep.c
 h8500-tdep.c
+hp-psymtab-read.c
+hp-symtab-read.c
 hp300ux-nat.c
 hppa-tdep.c
 hppab-nat.c
 hppah-nat.c
 hppam3-nat.c
 hpread.c
+hpread.h
 hpux-thread.c
 i386-stub.c
 i386-tdep.c
@@ -252,6 +287,7 @@ inflow.c
 infptrace.c
 infrun.c
 inftarg.c
+infttrace.c
 irix4-nat.c
 irix5-nat.c
 isi-xdep.c
@@ -268,6 +304,7 @@ m3-nat.c
 m32r-rom.c
 m32r-stub.c
 m32r-tdep.c
+m68klinux-nat.c
 m68k-stub.c
 m68k-tdep.c
 m68knbsd-nat.c
@@ -417,6 +454,7 @@ top.c
 top.h
 tracepoint.c
 tracepoint.h
+tui
 typeprint.c
 typeprint.h
 ultra3-nat.c
@@ -447,6 +485,7 @@ z8k-tdep.c
 
 Things-to-lose:
 
+GDB-HACK-RULES
 HOW_TO_RELEASE
 gdbcfgxref
 
@@ -511,6 +550,33 @@ else
        done
 fi
 
+if ( echo $* | grep keep\-vr4xxx > /dev/null ) ; then
+       for i in * ; do
+               if test ! -d $i && (grep sanitize-vr4xxx $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Keeping vr4xxx stuff in $i
+                       fi
+               fi
+       done
+else
+       for i in * ; do
+               if test ! -d $i && (grep sanitize-vr4xxx $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Removing traces of \"vr4xxx\" from $i...
+                       fi
+                       cp $i new
+                       sed '/start\-sanitize\-vr4xxx/,/end-\sanitize\-vr4xxx/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\-vr4320 > /dev/null ) ; then
        for i in * ; do
                if test ! -d $i && (grep sanitize-vr4320 $i > /dev/null) ; then
@@ -781,6 +847,33 @@ else
        done
 fi
 
+if ( echo $* | grep keep\-kod > /dev/null ) ; then
+       for i in * ; do
+               if test ! -d $i && (grep sanitize-kod $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Keeping kod stuff in $i
+                       fi
+               fi
+       done
+else
+       for i in * ; do
+               if test ! -d $i && (grep sanitize-kod $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Removing traces of \"kod\" from $i...
+                       fi
+                       cp $i new
+                       sed '/start\-sanitize\-kod/,/end-\sanitize\-kod/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
+
 # This is a temporary measure to sanitize out references to the
 # startup code need by the TclPro debugger.  When that goes out
 # of alpha, we can remove this.
@@ -844,6 +937,33 @@ else
        done
 fi
 
+if ( echo $* | grep keep\-carp > /dev/null ) ; then
+       for i in * ; do
+               if test ! -d $i && (grep sanitize-carp $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Keeping carp stuff in $i
+                       fi
+               fi
+       done
+else
+       for i in * ; do
+               if test ! -d $i && (grep sanitize-carp $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Removing traces of \"carp\" from $i...
+                       fi
+                       cp $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...
+                               fi
+                               mv $i .Recover
+                       fi
+                       mv new $i
+               fi
+       done
+fi
+
 for i in * ; do
        if test ! -d $i && (grep sanitize $i > /dev/null) ; then
                echo '***' Some mentions of Sanitize are still left in $i! 1>&2
This page took 0.026599 seconds and 4 git commands to generate.