Do-first:
-mpw_files="mpw-config.in mpw-make.in ser-mac.c mac-xdep.c mac-defs.h macgdb.r ChangeLog.mpw"
+mpw_files="mpw-config.in mpw-make.in ser-mac.c mac-xdep.c mac-defs.h macgdb.r mpw-init.c ChangeLog.mpw"
if ( echo $* | grep keep\-mpw > /dev/null ) ; then
keep_these_too="${mpw_files} ${keep_these_too}"
fi
fi
-gm_files="mpw-xconfig.in mpw-init.c ChangeLog.gm"
+hpread_files="hpread.c ChangeLog.hpread"
-if ( echo $* | grep keep\-gm > /dev/null ) ; then
- keep_these_too="${gm_files} ${keep_these_too}"
+if ( echo $* | grep keep\-hpread > /dev/null ) ; then
+ keep_these_too="${hpread_files} ${keep_these_too}"
if [ -n "${verbose}" ] ; then
- echo Keeping ${gm_files}
+ echo Keeping ${hpread_files}
fi
else
- lose_these_too="${gm_files} ${lose_these_too}"
+ lose_these_too="${hpread_files} ${lose_these_too}"
if [ -n "${verbose}" ] ; then
- echo Deleting ${gm_files}
+ echo Deleting ${hpread_files}
fi
fi
ChangeLog-93
Makefile.in
NEWS
-Projects
README
TODO
a29k-pinsn.c
exec.c
expprint.c
expression.h
+f-exp.y
+f-lang.c
+f-lang.h
+f-typeprint.c
+f-valprint.c
findvar.c
fork-child.c
frame.h
gdbcmd.h
gdbcore.h
gdbserver
+gdbtk.c
+gdbtk.tcl
gdbtypes.c
gdbtypes.h
go32-xdep.c
hppa-tdep.c
hppab-nat.c
hppah-nat.c
-i386-nlmstub.c
i386-pinsn.c
i386-stub.c
i386-tdep.c
mipsv4-nat.c
mipsread.c
monitor.h
+monitor.c
news-xdep.c
nindy-share
nindy-tdep.c
+nlm
nlmread.c
-ns32k-opcode.h
ns32k-pinsn.c
ns32km3-nat.c
objfiles.c
objfiles.h
+op50-rom.c
os9kread.c
osfsolib.c
parse.c
remote-mon.c
remote-nindy.c
remote-os9k.c
+remote-pa.c
remote-sim.c
remote-sim.h
remote-st.c
values.c
vax-pinsn.c
vx-share
-xcoffexec.c
+w89k-rom.c
xcoffread.c
xcoffsolib.c
xcoffsolib.h
# Written at SunLabs.
# state.c - Not used at the moment, keep for reference (fnf)
# state.h - Not used at the moment, keep for reference (fnf)
-# tests - Old test programs for GDB, pre-gdbtest and pre-
-# DejaGnu.
Things-to-lose:
remote-sa.sparc.c
state.c
state.h
-tests
Do-last:
done
fi
+echo Removing traces of \"hpread\"...
+
+# Don't try to clean directories here, as the 'mv' command will fail.
+# Also, grep fails on NFS mounted directories.
+if ( echo $* | grep keep\-hpread > /dev/null ) ; then
+ for i in * ; do
+ if test ! -d $i && (grep sanitize-hpread $i > /dev/null) ; then
+ echo Keeping hpread stuff in $i
+ fi
+ done
+else
+ for i in * ; do
+ if test ! -d $i && (grep sanitize-hpread $i > /dev/null) ; then
+ echo Removing traces of \"hpread\" out of $i...
+ cp $i new
+ sed '/start\-sanitize\-hpread/,/end-\sanitize\-hpread/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
+fi
+
+
# End of file.