configure.in -- decide whether to configure gdb.hp; configure -- regenerated.
[deliverable/binutils-gdb.git] / gdb / .Sanitize
index 717e8e9d8df189e00a240333532f39f9d26439f7..26812a2fd8fab1de9ccb7058f3aa561b264e4fd9 100644 (file)
@@ -15,7 +15,7 @@
 
 Do-first:
 
-gdbtk_files="README.GDBTK gdbtk.c gdbtcl gdbtcl2 gdbtk.tcl"
+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,48 +29,73 @@ else
        fi
 fi
 
-# WinGDB files are not really ready to be part of FSF releases, but
-# keep them for progressives and such.
+tic80_files="tic80-tdep.c"
+
+if ( echo $* | grep keep\-tic80 > /dev/null ) ; then
+       keep_these_too="${tic80_files} ${keep_these_too}"
+       if [ -n "${verbose}" ] ; then
+               echo Keeping ${tic80_files}
+       fi
+else
+       lose_these_too="${tic80_files} ${lose_these_too}"
+       if [ -n "${verbose}" ] ; then
+               echo Deleting ${tic80_files}
+       fi
+fi
 
-mswin_files="mswin"
+sky_files="txvu-tdep.c"
 
-if ( echo $* | grep lose\-mswin > /dev/null ) ; then
-       lose_these_too="${mswin_files} ${lose_these_too}"
+if ( echo $* | grep keep\-sky > /dev/null ) ; then
+       keep_these_too="${sky_files} ${keep_these_too}"
        if [ -n "${verbose}" ] ; then
-               echo Deleting ${mswin_files}
+               echo Keeping ${sky_files}
        fi
 else
-       keep_these_too="${mswin_files} ${keep_these_too}"
+       lose_these_too="${sky_files} ${lose_these_too}"
        if [ -n "${verbose}" ] ; then
-               echo Keeping ${mswin_files}
+               echo Deleting ${sky_files}
        fi
 fi
 
-tic80_files="tic80-tdep.c"
+java_files="jv-exp.y jv-lang.c jv-lang.h jv-typeprint.c jv-valprint.c"
 
-if ( echo $* | grep keep\-tic80 > /dev/null ) ; then
-       keep_these_too="${tic80_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 ${tic80_files}
+               echo Keeping ${java_files}
        fi
 else
-       lose_these_too="${tic80_files} ${lose_these_too}"
+       lose_these_too="${java_files} ${lose_these_too}"
        if [ -n "${verbose}" ] ; then
-               echo Deleting ${tic80_files}
+               echo Deleting ${java_files}
        fi
 fi
 
-d30v_files="d30v-tdep.c"
+vr4111_files="nec4102rom.c"
 
-if ( echo $* | grep keep\-d30v > /dev/null ) ; then
-       keep_these_too="${d30v_files} ${keep_these_too}"
+if ( echo $* | grep keep\-vr4111 > /dev/null ) ; then
+       keep_these_too="${vr4111_files} ${keep_these_too}"
        if [ -n "${verbose}" ] ; then
-               echo Keeping ${d30v_files}
+               echo Keeping ${vr4111_files}
        fi
 else
-       lose_these_too="${d30v_files} ${lose_these_too}"
+       lose_these_too="${vr4111_files} ${lose_these_too}"
        if [ -n "${verbose}" ] ; then
-               echo Deleting ${d30v_files}
+               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
 
@@ -92,6 +117,8 @@ ChangeLog-93
 ChangeLog-94
 ChangeLog-95
 ChangeLog-96
+ChangeLog-97
+ChangeLog-98
 Makefile.in
 NEWS
 README
@@ -99,8 +126,9 @@ TODO
 a29k-tdep.c
 a68v-nat.c
 abug-rom.c
-aclocal.m4
 acconfig.h
+acinclude.m4
+aclocal.m4
 alpha-nat.c
 alpha-tdep.c
 altos-xdep.c
@@ -110,6 +138,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
@@ -154,12 +186,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
@@ -169,14 +202,15 @@ dpx2-nat.c
 dsrec.c
 dst.h
 dstread.c
+dve3900-rom.c
 dwarf2read.c
 dwarfread.c
 elfread.c
 environ.c
 environ.h
 eval.c
-exec.c
 exc_request.defs
+exec.c
 expprint.c
 expression.h
 f-exp.y
@@ -186,13 +220,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
@@ -209,12 +246,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
@@ -234,14 +274,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
@@ -255,15 +291,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
@@ -273,13 +310,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
@@ -292,6 +329,7 @@ nlmread.c
 notify.defs
 ns32k-tdep.c
 ns32km3-nat.c
+ns32knbsd-nat.c
 objfiles.c
 objfiles.h
 ocd.c
@@ -303,17 +341,19 @@ 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
 ptx4-nat.c
 pyr-tdep.c
 pyr-xdep.c
+rdi-share
 remote-adapt.c
 remote-array.c
 remote-bug.c
+remote-d10v.c
 remote-e7000.c
 remote-eb.c
 remote-es.c
@@ -324,6 +364,7 @@ remote-mm.c
 remote-nindy.c
 remote-nrom.c
 remote-os9k.c
+remote-rdi.c
 remote-rdp.c
 remote-sds.c
 remote-sim.c
@@ -339,9 +380,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
@@ -398,6 +439,9 @@ testsuite
 thread.c
 top.c
 top.h
+tracepoint.c
+tracepoint.h
+tui
 typeprint.c
 typeprint.h
 ultra3-nat.c
@@ -428,9 +472,9 @@ z8k-tdep.c
 
 Things-to-lose:
 
+GDB-HACK-RULES
 HOW_TO_RELEASE
-tracepoint.c
-tracepoint.h
+gdbcfgxref
 
 Do-last:
 
@@ -493,22 +537,49 @@ else
        done
 fi
 
-if ( echo $* | grep keep\-sh4 > /dev/null ) ; then
+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-sh4 $i > /dev/null) ; then
+               if test ! -d $i && (grep sanitize-vr4320 $i > /dev/null) ; then
                        if [ -n "${verbose}" ] ; then
-                               echo Keeping sh4 stuff in $i
+                               echo Keeping vr4320 stuff in $i
                        fi
                fi
        done
 else
        for i in * ; do
-               if test ! -d $i && (grep sanitize-sh4 $i > /dev/null) ; then
+               if test ! -d $i && (grep sanitize-vr4320 $i > /dev/null) ; then
                        if [ -n "${verbose}" ] ; then
-                               echo Removing traces of \"sh4\" from $i...
+                               echo Removing traces of \"vr4320\" from $i...
                        fi
                        cp $i new
-                       sed '/start\-sanitize\-sh4/,/end-\sanitize\-sh4/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...
@@ -574,22 +645,22 @@ else
        done
 fi
 
-if ( echo $* | grep keep\-tx39 > /dev/null ) ; then
+if ( echo $* | grep keep\-tx49 > /dev/null ) ; then
        for i in * ; do
-               if test ! -d $i && (grep sanitize-tx39 $i > /dev/null) ; then
+               if test ! -d $i && (grep sanitize-tx49 $i > /dev/null) ; then
                        if [ -n "${verbose}" ] ; then
-                               echo Keeping tx39 stuff in $i
+                               echo Keeping tx49 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-tx49 $i > /dev/null) ; then
                        if [ -n "${verbose}" ] ; then
-                               echo Removing traces of \"tx39\" from $i...
+                               echo Removing traces of \"tx49\" from $i...
                        fi
                        cp $i new
-                       sed '/start\-sanitize\-tx39/,/end-\sanitize\-tx39/d' < $i > new
+                       sed '/start\-sanitize\-tx49/,/end-\sanitize\-tx49/d' < $i > new
                        if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
                                if [ -n "${verbose}" ] ; then
                                        echo Caching $i in .Recover...
@@ -601,22 +672,22 @@ else
        done
 fi
 
-if ( echo $* | grep keep\-tx49 > /dev/null ) ; then
+if ( echo $* | grep keep\-sky > /dev/null ) ; then
        for i in * ; do
-               if test ! -d $i && (grep sanitize-tx49 $i > /dev/null) ; then
+               if test ! -d $i && (grep sanitize-sky $i > /dev/null) ; then
                        if [ -n "${verbose}" ] ; then
-                               echo Keeping tx49 stuff in $i
+                               echo Keeping sky stuff in $i
                        fi
                fi
        done
 else
        for i in * ; do
-               if test ! -d $i && (grep sanitize-tx49 $i > /dev/null) ; then
+               if test ! -d $i && (grep sanitize-sky $i > /dev/null) ; then
                        if [ -n "${verbose}" ] ; then
-                               echo Removing traces of \"tx49\" from $i...
+                               echo Removing traces of \"sky\" from $i...
                        fi
                        cp $i new
-                       sed '/start\-sanitize\-tx49/,/end-\sanitize\-tx49/d' < $i > new
+                       sed '/start\-sanitize\-sky/,/end-\sanitize\-sky/d' < $i > new
                        if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
                                if [ -n "${verbose}" ] ; then
                                        echo Caching $i in .Recover...
@@ -628,22 +699,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...
@@ -682,22 +753,166 @@ 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-vr4111 $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Keeping vr4111 stuff in $i
+                       fi
+               fi
+       done
+else
+       for i in * ; do
+               if test ! -d $i && (grep sanitize-vr4111 $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Removing traces of \"vr4111\" from $i...
+                       fi
+                       cp $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...
+                               fi
+                               mv $i .Recover
+                       fi
+                       mv new $i
+               fi
+       done
+fi
+
+if ( echo $* | grep keep\-ide > /dev/null ) ; then
+       for i in * ; do
+               if test ! -d $i && (grep sanitize-ide $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Keeping ide stuff in $i
+                       fi
+               fi
+       done
+else
+       for i in * ; do
+               if test ! -d $i && (grep sanitize-ide $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Removing traces of \"ide\" from $i...
+                       fi
+                       cp $i new
+                       sed '/start\-sanitize\-ide/,/end-\sanitize\-ide/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-d30v $i > /dev/null) ; then
+               if test ! -d $i && (grep sanitize-carp $i > /dev/null) ; then
                        if [ -n "${verbose}" ] ; then
-                               echo Keeping d30v stuff in $i
+                               echo Keeping carp 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-carp $i > /dev/null) ; then
                        if [ -n "${verbose}" ] ; then
-                               echo Removing traces of \"d30v\" from $i...
+                               echo Removing traces of \"carp\" from $i...
                        fi
                        cp $i new
-                       sed '/start\-sanitize\-d30v/,/end-\sanitize\-d30v/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.032629 seconds and 4 git commands to generate.