1999-01-15 Fernando Nasser <fnasser@totem.to.cygnus.com>
[deliverable/binutils-gdb.git] / gdb / .Sanitize
index 115097deb5f0ce3c08889d3b9d5d0b3c28b93b14..4a714721dd03d5947489754f5b1902bebb1b1068 100644 (file)
@@ -15,7 +15,7 @@
 
 Do-first:
 
-gdbtk_files="ChangeLog-gdbtk README.GDBTK gdbtk.c gdbtcl gdbtcl2 gdbtk.tcl gdb.rc gdbtool.ico"
+gdbtk_files="ChangeLog-gdbtk README.GDBTK gdbtk.c gdbtk.h gdbtk-cmds.c gdbtk-hooks.c gdbtcl2 gdb.rc gdbtool.ico"
 
 if ( echo $* | grep lose\-gdbtk > /dev/null ) ; then
        lose_these_too="${gdbtk_files} ${lose_these_too}"
@@ -29,20 +29,17 @@ else
        fi
 fi
 
-# WinGDB files are not really ready to be part of FSF releases, but
-# keep them for progressives and such.
+kod_files="kod.c kodecosdll.c"
 
-mswin_files="mswin"
-
-if ( echo $* | grep lose\-mswin > /dev/null ) ; then
-       lose_these_too="${mswin_files} ${lose_these_too}"
+if ( echo $* | grep keep\-kod > /dev/null ) ; then
+       keep_these_too="${kod_files} ${keep_these_too}"
        if [ -n "${verbose}" ] ; then
-               echo Deleting ${mswin_files}
+               echo Keeping ${kod_files}
        fi
 else
-       keep_these_too="${mswin_files} ${keep_these_too}"
+       lose_these_too="${kod_files} ${lose_these_too}"
        if [ -n "${verbose}" ] ; then
-               echo Keeping ${mswin_files}
+               echo Deleting ${kod_files}
        fi
 fi
 
@@ -60,31 +57,59 @@ else
        fi
 fi
 
-d30v_files="d30v-tdep.c"
+sky_files="txvu-tdep.c"
 
-if ( echo $* | grep keep\-d30v > /dev/null ) ; then
-       keep_these_too="${d30v_files} ${keep_these_too}"
+if ( echo $* | grep keep\-sky > /dev/null ) ; then
+       keep_these_too="${sky_files} ${keep_these_too}"
        if [ -n "${verbose}" ] ; then
-               echo Keeping ${d30v_files}
+               echo Keeping ${sky_files}
        fi
 else
-       lose_these_too="${d30v_files} ${lose_these_too}"
+       lose_these_too="${sky_files} ${lose_these_too}"
        if [ -n "${verbose}" ] ; then
-               echo Deleting ${d30v_files}
+               echo Deleting ${sky_files}
        fi
 fi
 
-sky_files="txvu-tdep.c"
+java_files="jv-exp.y jv-lang.c jv-lang.h jv-typeprint.c jv-valprint.c"
 
-if ( echo $* | grep keep\-sky > /dev/null ) ; then
-       keep_these_too="${sky_files} ${keep_these_too}"
+if ( echo $* | grep keep\-java > /dev/null ) ; then
+       keep_these_too="${java_files} ${keep_these_too}"
        if [ -n "${verbose}" ] ; then
-               echo Keeping ${sky_files}
+               echo Keeping ${java_files}
        fi
 else
-       lose_these_too="${sky_files} ${lose_these_too}"
+       lose_these_too="${java_files} ${lose_these_too}"
        if [ -n "${verbose}" ] ; then
-               echo Deleting ${sky_files}
+               echo Deleting ${java_files}
+       fi
+fi
+
+vr4111_files="nec4102rom.c"
+
+if ( echo $* | grep keep\-vr4111 > /dev/null ) ; then
+       keep_these_too="${vr4111_files} ${keep_these_too}"
+       if [ -n "${verbose}" ] ; then
+               echo Keeping ${vr4111_files}
+       fi
+else
+       lose_these_too="${vr4111_files} ${lose_these_too}"
+       if [ -n "${verbose}" ] ; then
+               echo Deleting ${vr4111_files}
+       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
 
@@ -107,6 +132,7 @@ ChangeLog-94
 ChangeLog-95
 ChangeLog-96
 ChangeLog-97
+ChangeLog-98
 Makefile.in
 NEWS
 README
@@ -114,8 +140,8 @@ TODO
 a29k-tdep.c
 a68v-nat.c
 abug-rom.c
-aclocal.m4
 acconfig.h
+aclocal.m4
 alpha-nat.c
 alpha-tdep.c
 altos-xdep.c
@@ -125,6 +151,10 @@ arc-tdep.c
 arm-convert.s
 arm-tdep.c
 arm-xdep.c
+ax-gdb.c
+ax-gdb.h
+ax-general.c
+ax.h
 bcache.c
 bcache.h
 blockframe.c
@@ -169,12 +199,13 @@ cp-valprint.c
 cpu32bug-rom.c
 cxux-nat.c
 d10v-tdep.c
+d30v-tdep.c
 dbug-rom.c
 dbxread.c
 dcache.c
 dcache.h
-debugify.h
 debugify.c
+debugify.h
 defs.h
 delta68-nat.c
 demangle.c
@@ -191,8 +222,8 @@ elfread.c
 environ.c
 environ.h
 eval.c
-exec.c
 exc_request.defs
+exec.c
 expprint.c
 expression.h
 f-exp.y
@@ -202,13 +233,16 @@ f-typeprint.c
 f-valprint.c
 findvar.c
 fork-child.c
+fr30-tdep.c
 frame.h
-gdb_stat.h
-gdb_string.h
 gdb-stabs.h
 gdb.1
 gdb.gdb
+gdb_stat.h
+gdb_string.h
 gdba.el
+gdbarch.c
+gdbarch.h
 gdbcmd.h
 gdbcore.h
 gdbinit.in
@@ -225,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
@@ -250,14 +287,10 @@ inflow.c
 infptrace.c
 infrun.c
 inftarg.c
+infttrace.c
 irix4-nat.c
 irix5-nat.c
 isi-xdep.c
-jv-exp.y
-jv-lang.c
-jv-lang.h
-jv-valprint.c
-jv-typeprint.c
 kdb-start.c
 language.c
 language.h
@@ -271,15 +304,16 @@ m3-nat.c
 m32r-rom.c
 m32r-stub.c
 m32r-tdep.c
+m68klinux-nat.c
 m68k-stub.c
 m68k-tdep.c
 m68knbsd-nat.c
 m88k-nat.c
 m88k-tdep.c
 mac-defs.h
-mac-xdep.c
 mac-gdb.r
 mac-nat.c
+mac-xdep.c
 main.c
 maint.c
 mdebugread.c
@@ -289,13 +323,13 @@ minsyms.c
 mips-nat.c
 mips-tdep.c
 mipsm3-nat.c
-mipsv4-nat.c
 mipsread.c
+mipsv4-nat.c
 mn10200-tdep.c
 mn10300-tdep.c
 mon960-rom.c
-monitor.h
 monitor.c
+monitor.h
 mpw-config.in
 mpw-make.sed
 msg.defs
@@ -308,6 +342,7 @@ nlmread.c
 notify.defs
 ns32k-tdep.c
 ns32km3-nat.c
+ns32knbsd-nat.c
 objfiles.c
 objfiles.h
 ocd.c
@@ -319,8 +354,8 @@ osfsolib.c
 parse.c
 parser-defs.h
 partial-stab.h
-ppcbug-rom.c
 ppc-bdm.c
+ppcbug-rom.c
 printcmd.c
 process_reply.defs
 procfs.c
@@ -358,9 +393,9 @@ remote-vxmips.c
 remote-vxsparc.c
 remote.c
 reply_mig_hack.awk
+rom68k-rom.c
 rs6000-nat.c
 rs6000-tdep.c
-rom68k-rom.c
 saber.suppress
 scm-exp.c
 scm-lang.c
@@ -419,6 +454,7 @@ top.c
 top.h
 tracepoint.c
 tracepoint.h
+tui
 typeprint.c
 typeprint.h
 ultra3-nat.c
@@ -449,7 +485,9 @@ z8k-tdep.c
 
 Things-to-lose:
 
+GDB-HACK-RULES
 HOW_TO_RELEASE
+gdbcfgxref
 
 Do-last:
 
@@ -512,22 +550,22 @@ else
        done
 fi
 
-if ( echo $* | grep keep\-vr4320 > /dev/null ) ; then
+if ( echo $* | grep keep\-vr4xxx > /dev/null ) ; then
        for i in * ; do
-               if test ! -d $i && (grep sanitize-vr4320 $i > /dev/null) ; then
+               if test ! -d $i && (grep sanitize-vr4xxx $i > /dev/null) ; then
                        if [ -n "${verbose}" ] ; then
-                               echo Keeping vr4320 stuff in $i
+                               echo Keeping vr4xxx stuff in $i
                        fi
                fi
        done
 else
        for i in * ; do
-               if test ! -d $i && (grep sanitize-vr4320 $i > /dev/null) ; then
+               if test ! -d $i && (grep sanitize-vr4xxx $i > /dev/null) ; then
                        if [ -n "${verbose}" ] ; then
-                               echo Removing traces of \"vr4320\" from $i...
+                               echo Removing traces of \"vr4xxx\" from $i...
                        fi
                        cp $i new
-                       sed '/start\-sanitize\-vr4320/,/end-\sanitize\-vr4320/d' < $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...
@@ -539,22 +577,22 @@ else
        done
 fi
 
-if ( echo $* | grep keep\-r5900 > /dev/null ) ; then
+if ( echo $* | grep keep\-vr4320 > /dev/null ) ; then
        for i in * ; do
-               if test ! -d $i && (grep sanitize-r5900 $i > /dev/null) ; then
+               if test ! -d $i && (grep sanitize-vr4320 $i > /dev/null) ; then
                        if [ -n "${verbose}" ] ; then
-                               echo Keeping r5900 stuff in $i
+                               echo Keeping vr4320 stuff in $i
                        fi
                fi
        done
 else
        for i in * ; do
-               if test ! -d $i && (grep sanitize-r5900 $i > /dev/null) ; then
+               if test ! -d $i && (grep sanitize-vr4320 $i > /dev/null) ; then
                        if [ -n "${verbose}" ] ; then
-                               echo Removing traces of \"r5900\" from $i...
+                               echo Removing traces of \"vr4320\" from $i...
                        fi
                        cp $i new
-                       sed '/start\-sanitize\-r5900/,/end-\sanitize\-r5900/d' < $i > new
+                       sed '/start\-sanitize\-vr4320/,/end-\sanitize\-vr4320/d' < $i > new
                        if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
                                if [ -n "${verbose}" ] ; then
                                        echo Caching $i in .Recover...
@@ -566,22 +604,22 @@ else
        done
 fi
 
-if ( echo $* | grep keep\-tx19 > /dev/null ) ; then
+if ( echo $* | grep keep\-r5900 > /dev/null ) ; then
        for i in * ; do
-               if test ! -d $i && (grep sanitize-tx19 $i > /dev/null) ; then
+               if test ! -d $i && (grep sanitize-r5900 $i > /dev/null) ; then
                        if [ -n "${verbose}" ] ; then
-                               echo Keeping tx19 stuff in $i
+                               echo Keeping r5900 stuff in $i
                        fi
                fi
        done
 else
        for i in * ; do
-               if test ! -d $i && (grep sanitize-tx19 $i > /dev/null) ; then
+               if test ! -d $i && (grep sanitize-r5900 $i > /dev/null) ; then
                        if [ -n "${verbose}" ] ; then
-                               echo Removing traces of \"tx19\" from $i...
+                               echo Removing traces of \"r5900\" from $i...
                        fi
                        cp $i new
-                       sed '/start\-sanitize\-tx19/,/end-\sanitize\-tx19/d' < $i > new
+                       sed '/start\-sanitize\-r5900/,/end-\sanitize\-r5900/d' < $i > new
                        if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
                                if [ -n "${verbose}" ] ; then
                                        echo Caching $i in .Recover...
@@ -593,22 +631,22 @@ else
        done
 fi
 
-if ( echo $* | grep keep\-tx39 > /dev/null ) ; then
+if ( echo $* | grep keep\-tx19 > /dev/null ) ; then
        for i in * ; do
-               if test ! -d $i && (grep sanitize-tx39 $i > /dev/null) ; then
+               if test ! -d $i && (grep sanitize-tx19 $i > /dev/null) ; then
                        if [ -n "${verbose}" ] ; then
-                               echo Keeping tx39 stuff in $i
+                               echo Keeping tx19 stuff in $i
                        fi
                fi
        done
 else
        for i in * ; do
-               if test ! -d $i && (grep sanitize-tx39 $i > /dev/null) ; then
+               if test ! -d $i && (grep sanitize-tx19 $i > /dev/null) ; then
                        if [ -n "${verbose}" ] ; then
-                               echo Removing traces of \"tx39\" from $i...
+                               echo Removing traces of \"tx19\" from $i...
                        fi
                        cp $i new
-                       sed '/start\-sanitize\-tx39/,/end-\sanitize\-tx39/d' < $i > new
+                       sed '/start\-sanitize\-tx19/,/end-\sanitize\-tx19/d' < $i > new
                        if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
                                if [ -n "${verbose}" ] ; then
                                        echo Caching $i in .Recover...
@@ -674,22 +712,22 @@ else
        done
 fi
 
-if ( echo $* | grep keep\-vr5400 > /dev/null ) ; then
+if ( echo $* | grep keep\-cygnus > /dev/null ) ; then
        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 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...
@@ -728,22 +766,49 @@ else
        done
 fi
 
-if ( echo $* | grep keep\-d30v > /dev/null ) ; then
+if ( echo $* | grep keep\-am33 > /dev/null ) ; then
+       for i in * ; do
+               if test ! -d $i && (grep sanitize-am33 $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Keeping am33 stuff in $i
+                       fi
+               fi
+       done
+else
+       for i in * ; do
+               if test ! -d $i && (grep sanitize-am33 $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Removing traces of \"am33\" from $i...
+                       fi
+                       cp $i new
+                       sed '/start\-sanitize\-am33/,/end-\sanitize\-am33/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\-vr4111 > /dev/null ) ; then
        for i in * ; do
-               if test ! -d $i && (grep sanitize-d30v $i > /dev/null) ; then
+               if test ! -d $i && (grep sanitize-vr4111 $i > /dev/null) ; then
                        if [ -n "${verbose}" ] ; then
-                               echo Keeping d30v stuff in $i
+                               echo Keeping vr4111 stuff in $i
                        fi
                fi
        done
 else
        for i in * ; do
-               if test ! -d $i && (grep sanitize-d30v $i > /dev/null) ; then
+               if test ! -d $i && (grep sanitize-vr4111 $i > /dev/null) ; then
                        if [ -n "${verbose}" ] ; then
-                               echo Removing traces of \"d30v\" from $i...
+                               echo Removing traces of \"vr4111\" from $i...
                        fi
                        cp $i new
-                       sed '/start\-sanitize\-d30v/,/end-\sanitize\-d30v/d' < $i > new
+                       sed '/start\-sanitize\-vr4111/,/end-\sanitize\-vr4111/d' < $i > new
                        if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
                                if [ -n "${verbose}" ] ; then
                                        echo Caching $i in .Recover...
@@ -782,22 +847,112 @@ else
        done
 fi
 
-if ( echo $* | grep keep\-mswin > /dev/null ) ; then
+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.
+
+if ( echo $* | grep keep\-tclpro > /dev/null ) ; then
+       for i in * ; do
+               if test ! -d $i && (grep sanitize-tclpro $i > /dev/null) ; then
+                       echo Keeping \"tclpro\" stuff in $i, but editing out sanitize lines...
+                       cp $i new
+                       sed -e '/start\-sanitize\-tclpro/d' -e '/end\-sanitize\-tclpro/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
+else
+       for i in * ; do
+               if test ! -d $i && (grep sanitize-tclpro $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Removing traces of \"tclpro\" from $i...
+                       fi
+                       cp $i new
+                       sed '/start\-sanitize\-tclpro/,/end-\sanitize\-tclpro/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\-java > /dev/null ) ; then
+       for i in * ; do
+               if test ! -d $i && (grep sanitize-java $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Keeping java stuff in $i
+                       fi
+               fi
+       done
+else
+       for i in * ; do
+               if test ! -d $i && (grep sanitize-java $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Removing traces of \"java\" from $i...
+                       fi
+                       cp $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...
+                               fi
+                               mv $i .Recover
+                       fi
+                       mv new $i
+               fi
+       done
+fi
+
+if ( echo $* | grep keep\-carp > /dev/null ) ; then
        for i in * ; do
-               if test ! -d $i && (grep sanitize-mswin $i > /dev/null) ; then
+               if test ! -d $i && (grep sanitize-carp $i > /dev/null) ; then
                        if [ -n "${verbose}" ] ; then
-                               echo Keeping mswin stuff in $i
+                               echo Keeping carp 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-carp $i > /dev/null) ; then
                        if [ -n "${verbose}" ] ; then
-                               echo Removing traces of \"mswin\" from $i...
+                               echo Removing traces of \"carp\" from $i...
                        fi
                        cp $i new
-                       sed '/start\-sanitize\-mswin/,/end-\sanitize\-mswin/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.032518 seconds and 4 git commands to generate.