fi
fi
-gdbtk_files="README.GDBTK gdbtk.c gdbtk.tcl"
+gdbtk_files="README.GDBTK gdbtk.c gdbtcl gdbtk.tcl"
if ( echo $* | grep lose\-gdbtk > /dev/null ) ; then
lose_these_too="${gdbtk_files} ${lose_these_too}"
fi
fi
-v850_files="v850ice.c v850-tdep.c"
+tic80_files="tic80-tdep.c"
-if ( echo $* | grep keep\-v850 > /dev/null ) ; then
- keep_these_too="${v850_files} ${keep_these_too}"
+if ( echo $* | grep keep\-tic80 > /dev/null ) ; then
+ keep_these_too="${tic80_files} ${keep_these_too}"
if [ -n "${verbose}" ] ; then
- echo Keeping ${v850_files}
+ echo Keeping ${tic80_files}
fi
else
- lose_these_too="${v850_files} ${lose_these_too}"
+ lose_these_too="${tic80_files} ${lose_these_too}"
if [ -n "${verbose}" ] ; then
- echo Deleting ${v850_files}
+ echo Deleting ${tic80_files}
fi
fi
-m32r_files="m32r-tdep.c m32r-rom.c m32r-stub.c"
+v850_files="v850ice.c v850-tdep.c"
-if ( echo $* | grep keep\-m32r > /dev/null ) ; then
- keep_these_too="${m32r_files} ${keep_these_too}"
+if ( echo $* | grep keep\-v850 > /dev/null ) ; then
+ keep_these_too="${v850_files} ${keep_these_too}"
if [ -n "${verbose}" ] ; then
- echo Keeping ${m32r_files}
+ echo Keeping ${v850_files}
fi
else
- lose_these_too="${m32r_files} ${lose_these_too}"
+ lose_these_too="${v850_files} ${lose_these_too}"
if [ -n "${verbose}" ] ; then
- echo Deleting ${m32r_files}
+ echo Deleting ${v850_files}
fi
fi
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
+jv-exp.y
+jv-lang.c
+jv-lang.h
+jv-valprint.c
+jv-typeprint.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-sim.h
remote-st.c
remote-udi.c
remote-utils.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-tx39 $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Keeping tx39 stuff in $i
+ fi
+ fi
+ done
+else
+ for i in * ; do
+ if test ! -d $i && (grep sanitize-tx39 $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Removing traces of \"tx39\" from $i...
+ fi
+ cp $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...
+ fi
+ mv $i .Recover
+ fi
+ mv new $i
+ fi
+ done
+fi
+
+if ( echo $* | grep keep\-tic80 > /dev/null ) ; then
for i in * ; do
- if test ! -d $i && (grep sanitize-m32r $i > /dev/null) ; then
+ if test ! -d $i && (grep sanitize-tic80 $i > /dev/null) ; then
if [ -n "${verbose}" ] ; then
- echo Keeping m32r stuff in $i
+ echo Keeping tic80 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-tic80 $i > /dev/null) ; then
if [ -n "${verbose}" ] ; then
- echo Removing traces of \"m32r\" from $i...
+ echo Removing traces of \"tic80\" from $i...
fi
cp $i new
- sed '/start\-sanitize\-m32r/,/end-\sanitize\-m32r/d' < $i > new
+ sed '/start\-sanitize\-tic80/,/end-\sanitize\-tic80/d' < $i > new
if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
if [ -n "${verbose}" ] ; then
echo Caching $i in .Recover...