More model specific changes
[deliverable/binutils-gdb.git] / gdb / .Sanitize
index bf2fd56e7610c76a864ddc1b290d44f67ee22dc2..f35d5f104b0a8889aee2647644867c387d59eaa0 100644 (file)
@@ -60,6 +60,20 @@ else
        fi
 fi
 
+gm_files="magic.c magic.h"
+
+if ( echo $* | grep keep\-gm > /dev/null ) ; then
+       keep_these_too="${gm_files} ${keep_these_too}"
+       if [ -n "${verbose}" ] ; then
+               echo Keeping ${gm_files}
+       fi
+else
+       lose_these_too="${gm_files} ${lose_these_too}"
+       if [ -n "${verbose}" ] ; then
+               echo Deleting ${gm_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
@@ -97,6 +111,8 @@ breakpoint.c
 breakpoint.h
 buildsym.c
 buildsym.h
+callback.c
+callback.h
 c-exp.y
 c-lang.c
 c-lang.h
@@ -124,7 +140,7 @@ copying.awk
 copying.c
 core-sol2.c
 core-svr4.c
-core.c
+corefile.c
 coredep.c
 corelow.c
 cp-valprint.c
@@ -156,7 +172,6 @@ f-valprint.c
 findvar.c
 fork-child.c
 frame.h
-gcc.patch
 gdb_stat.h
 gdb_string.h
 gdb-stabs.h
@@ -168,6 +183,8 @@ gdbcore.h
 gdbserver
 gdbtypes.c
 gdbtypes.h
+gnu-regex.c
+gnu-regex.h
 go32-xdep.c
 gould-tdep.c
 gould-xdep.c
@@ -215,7 +232,7 @@ m88k-nat.c
 m88k-tdep.c
 mac-defs.h
 mac-xdep.c
-macgdb.r
+mac-gdb.r
 main.c
 maint.c
 mdebugread.c
@@ -230,7 +247,7 @@ mipsread.c
 monitor.h
 monitor.c
 mpw-config.in
-mpw-make.in
+mpw-make.sed
 news-xdep.c
 nindy-share
 nindy-tdep.c
@@ -246,13 +263,12 @@ osfsolib.c
 parse.c
 parser-defs.h
 partial-stab.h
+ppcbug-rom.o
 printcmd.c
 procfs.c
 ptx4-nat.c
 pyr-tdep.c
 pyr-xdep.c
-regex.c
-regex.h
 remote-adapt.c
 remote-array.c
 remote-bug.c
@@ -267,6 +283,7 @@ remote-nindy.c
 remote-nrom.c
 remote-os9k.c
 remote-pa.c
+remote-rdp.c
 remote-sim.c
 remote-sim.h
 remote-st.c
@@ -284,6 +301,11 @@ rs6000-nat.c
 rs6000-tdep.c
 rom68k-rom.c
 saber.suppress
+scm-exp.c
+scm-lang.c
+scm-lang.h
+scm-tags.h
+scm-valprint.c
 ser-e7kpc.c
 ser-go32.c
 ser-mac.c
@@ -292,6 +314,7 @@ ser-unix.c
 serial.c
 serial.h
 sh-tdep.c
+sh3-rom.c
 signals.h
 solib.c
 solib.h
@@ -304,6 +327,8 @@ sparc-stub.c
 sparc-tdep.c
 sparcl-stub.c
 sparcl-tdep.c
+srec.c
+srec.h
 stabsread.c
 stabsread.h
 stack.c
@@ -344,6 +369,7 @@ vax-tdep.c
 vx-share
 w65-tdep.c
 w89k-rom.c
+win32-nat.c
 xcoffread.c
 xcoffsolib.c
 xcoffsolib.h
@@ -392,7 +418,7 @@ else
        done
 fi
 
-r16_files="configure.in"
+r16_files="configure.in configure"
 
 if ( echo $* | grep keep\-r16 > /dev/null ) ; then
        for i in $r16_files ; do
@@ -421,7 +447,7 @@ else
        done
 fi
 
-arc_files="configure.in ChangeLog"
+arc_files="configure.in configure ChangeLog"
 
 if ( echo $* | grep keep\-arc > /dev/null ) ; then
        for i in $arc_files ; do
@@ -450,6 +476,62 @@ else
        done
 fi
 
+sh3e_files="ChangeLog"
+
+if ( echo $* | grep keep\-sh3e > /dev/null ) ; then
+       for i in $sh3e_files ; do
+               if test ! -d $i && (grep sanitize-sh3e $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Keeping sh3e stuff in $i
+                       fi
+               fi
+       done
+else
+       for i in $sh3e_files ; do
+               if test ! -d $i && (grep sanitize-sh3e $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Removing traces of \"sh3e\" from $i...
+                       fi
+                       cp $i new
+                       sed '/start\-sanitize\-sh3e/,/end-\sanitize\-sh3e/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\-gm > /dev/null ) ; then
+       for i in * ; do
+               if test ! -d $i && (grep sanitize-gm $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Keeping gm stuff in $i
+                       fi
+               fi
+       done
+else
+       for i in * ; do
+               if test ! -d $i && (grep sanitize-gm $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Removing traces of \"gm\" from $i...
+                       fi
+                       cp $i new
+                       sed '/start\-sanitize\-gm/,/end-\sanitize\-gm/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.025615 seconds and 4 git commands to generate.