fi
fi
-m32r_files="m32r-tdep.c m32r-rom.c m32r-stub.c"
-
-if ( echo $* | grep keep\-m32r > /dev/null ) ; then
- keep_these_too="${m32r_files} ${keep_these_too}"
- if [ -n "${verbose}" ] ; then
- echo Keeping ${m32r_files}
- fi
-else
- lose_these_too="${m32r_files} ${lose_these_too}"
- if [ -n "${verbose}" ] ; then
- echo Deleting ${m32r_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
Things-to-keep:
-.gdbinit
29k-share
COPYING
ChangeLog
gdba.el
gdbcmd.h
gdbcore.h
+gdbinit.in
gdbserver
gdbthread.h
gdbtypes.c
irix4-nat.c
irix5-nat.c
isi-xdep.c
+java-exp.y
+java-lang.c
+java-lang.h
+java-valprint.c
kdb-start.c
language.c
language.h
m2-typeprint.c
m2-valprint.c
m3-nat.c
+m32r-rom.c
+m32r-stub.c
+m32r-tdep.c
m68k-stub.c
m68k-tdep.c
m68knbsd-nat.c
remote-nindy.c
remote-nrom.c
remote-os9k.c
-remote-pa.c
remote-rdp.c
remote-sim.c
remote-st.c
done
fi
+if ( echo $* | grep keep\-sh4 > /dev/null ) ; then
+ for i in * ; do
+ if test ! -d $i && (grep sanitize-sh4 $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Keeping sh4 stuff in $i
+ fi
+ fi
+ done
+else
+ for i in * ; do
+ if test ! -d $i && (grep sanitize-sh4 $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Removing traces of \"sh4\" from $i...
+ fi
+ cp $i new
+ sed '/start\-sanitize\-sh4/,/end-\sanitize\-sh4/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\-r5900 > /dev/null ) ; then
for i in * ; do
if test ! -d $i && (grep sanitize-r5900 $i > /dev/null) ; then
done
fi
-if ( echo $* | grep keep\-m32r > /dev/null ) ; then
+if ( echo $* | grep keep\-tx39 > /dev/null ) ; then
for i in * ; do
- if test ! -d $i && (grep sanitize-m32r $i > /dev/null) ; then
+ if test ! -d $i && (grep sanitize-tx39 $i > /dev/null) ; then
if [ -n "${verbose}" ] ; then
- echo Keeping m32r stuff in $i
+ echo Keeping tx39 stuff in $i
fi
fi
done
else
for i in * ; do
- if test ! -d $i && (grep sanitize-m32r $i > /dev/null) ; then
+ if test ! -d $i && (grep sanitize-tx39 $i > /dev/null) ; then
if [ -n "${verbose}" ] ; then
- echo Removing traces of \"m32r\" from $i...
+ echo Removing traces of \"tx39\" from $i...
fi
cp $i new
- sed '/start\-sanitize\-m32r/,/end-\sanitize\-m32r/d' < $i > new
+ sed '/start\-sanitize\-tx39/,/end-\sanitize\-tx39/d' < $i > new
if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
if [ -n "${verbose}" ] ; then
echo Caching $i in .Recover...