fi
fi
-# WinGDB files are not really ready to be part of FSF releases, but
-# keep them for progressives and such.
+kod_files="kod.c kodecosdll.c"
-mswin_files="mswin"
-
-if ( echo $* | grep lose\-mswin > /dev/null ) ; then
- lose_these_too="${mswin_files} ${lose_these_too}"
+if ( echo $* | grep keep\-kod > /dev/null ) ; then
+ keep_these_too="${kod_files} ${keep_these_too}"
if [ -n "${verbose}" ] ; then
- echo Deleting ${mswin_files}
+ echo Keeping ${kod_files}
fi
else
- keep_these_too="${mswin_files} ${keep_these_too}"
+ lose_these_too="${kod_files} ${lose_these_too}"
if [ -n "${verbose}" ] ; then
- echo Keeping ${mswin_files}
+ echo Deleting ${kod_files}
fi
fi
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
+
# 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
ChangeLog-95
ChangeLog-96
ChangeLog-97
+ChangeLog-98
Makefile.in
NEWS
README
f-valprint.c
findvar.c
fork-child.c
+fr30-tdep.c
frame.h
gdb-stabs.h
gdb.1
gdb_stat.h
gdb_string.h
gdba.el
+gdbarch.c
+gdbarch.h
gdbcmd.h
gdbcore.h
gdbinit.in
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
infptrace.c
infrun.c
inftarg.c
+infttrace.c
irix4-nat.c
irix5-nat.c
isi-xdep.c
m32r-rom.c
m32r-stub.c
m32r-tdep.c
+m68klinux-nat.c
m68k-stub.c
m68k-tdep.c
m68knbsd-nat.c
top.h
tracepoint.c
tracepoint.h
+tui
typeprint.c
typeprint.h
ultra3-nat.c
Things-to-lose:
+GDB-HACK-RULES
HOW_TO_RELEASE
gdbcfgxref
done
fi
+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-vr4320 $i > /dev/null) ; then
done
fi
+if ( echo $* | grep keep\-kod > /dev/null ) ; then
+ for i in * ; do
+ if test ! -d $i && (grep sanitize-kod $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Keeping kod stuff in $i
+ fi
+ fi
+ done
+else
+ for i in * ; do
+ if test ! -d $i && (grep sanitize-kod $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Removing traces of \"kod\" from $i...
+ fi
+ cp $i new
+ sed '/start\-sanitize\-kod/,/end-\sanitize\-kod/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.
done
fi
-if ( echo $* | grep keep\-mswin > /dev/null ) ; then
+if ( echo $* | grep keep\-java > /dev/null ) ; then
for i in * ; do
- if test ! -d $i && (grep sanitize-mswin $i > /dev/null) ; then
+ if test ! -d $i && (grep sanitize-java $i > /dev/null) ; then
if [ -n "${verbose}" ] ; then
- echo Keeping mswin stuff in $i
+ echo Keeping java stuff in $i
fi
fi
done
else
for i in * ; do
- if test ! -d $i && (grep sanitize-mswin $i > /dev/null) ; then
+ if test ! -d $i && (grep sanitize-java $i > /dev/null) ; then
if [ -n "${verbose}" ] ; then
- echo Removing traces of \"mswin\" from $i...
+ echo Removing traces of \"java\" from $i...
fi
cp $i new
- sed '/start\-sanitize\-mswin/,/end-\sanitize\-mswin/d' < $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...
done
fi
-if ( echo $* | grep keep\-java > /dev/null ) ; then
+if ( echo $* | grep keep\-carp > /dev/null ) ; then
for i in * ; do
- if test ! -d $i && (grep sanitize-java $i > /dev/null) ; then
+ if test ! -d $i && (grep sanitize-carp $i > /dev/null) ; then
if [ -n "${verbose}" ] ; then
- echo Keeping java stuff in $i
+ echo Keeping carp stuff in $i
fi
fi
done
else
for i in * ; do
- if test ! -d $i && (grep sanitize-java $i > /dev/null) ; then
+ if test ! -d $i && (grep sanitize-carp $i > /dev/null) ; then
if [ -n "${verbose}" ] ; then
- echo Removing traces of \"java\" from $i...
+ echo Removing traces of \"carp\" from $i...
fi
cp $i new
- sed '/start\-sanitize\-java/,/end-\sanitize\-java/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...