1995-12-07 09:37:31 +08:00
|
|
|
# .Sanitize for devo/gdb/testsuite.
|
1993-02-23 00:20:25 +08:00
|
|
|
|
Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
Reorganization of the GDB Test Suite.
* gdb.base: New directory, contains all the basic tests.
* gdb.c++: New directory, tests specific to C++.
* gdb.chill: New directory, tests specific to Chill.
* gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
into appropriate new directories (t00-t17 to base, t20-t23 to c++,
t30-31 to chill).
* */gdbme.*: Rename to match appropriate expect scripts.
* gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
* gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
gdb.c++/virtfunc.cc: New names of C++ files.
* gdb.chill/chillvars.ch: New name of Chill file.
* gdb.base/configure.in, gdb.c++/configure.in,
gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
* gdb.base/Makefile.in, gdb.c++/Makefile.in,
gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
* configure.in (configdirs): Update to reflect directory changes.
(target_abbrev): No longer define for any configuration.
* Makefile.in: Cosmetic improvements to header comments.
1994-06-07 09:50:58 +08:00
|
|
|
# Each directory to survive its way into a release will need a file
|
1993-02-23 00:20:25 +08:00
|
|
|
# like this one called "./.Sanitize". All keyword lines must exist,
|
|
|
|
# and must exist in the order specified by this file. Each directory
|
|
|
|
# in the tree will be processed, top down, in the following order.
|
|
|
|
|
|
|
|
# Hash started lines like this one are comments and will be deleted
|
|
|
|
# before anything else is done. Blank lines will also be squashed
|
|
|
|
# out.
|
|
|
|
|
|
|
|
# The lines between the "Do-first:" line and the "Things-to-keep:"
|
|
|
|
# line are executed as a /bin/sh shell script before anything else is
|
|
|
|
# done in this directory.
|
|
|
|
|
|
|
|
Do-first:
|
|
|
|
|
1998-06-27 08:47:35 +08:00
|
|
|
gdbtk_files="gdb.gdbtk"
|
|
|
|
|
|
|
|
if ( echo $* | grep lose\-gdbtk > /dev/null ) ; then
|
|
|
|
lose_these_too="${gdbtk_files} ${lose_these_too}"
|
|
|
|
if [ -n "${verbose}" ] ; then
|
|
|
|
echo Deleting ${gdbtk_files}
|
|
|
|
fi
|
|
|
|
else
|
|
|
|
keep_these_too="${gdbtk_files} ${keep_these_too}"
|
|
|
|
if [ -n "${verbose}" ] ; then
|
|
|
|
echo Keeping ${gdbtk_files}
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
1993-02-23 00:20:25 +08:00
|
|
|
# All files listed between the "Things-to-keep:" line and the
|
|
|
|
# "Do-last:" line will be kept. All other files will be removed.
|
|
|
|
# Directories listed in this section will have their own Sanitize
|
|
|
|
# called. Directories not listed will be removed in their entirety
|
|
|
|
# with rm -rf.
|
|
|
|
|
|
|
|
Things-to-keep:
|
|
|
|
|
|
|
|
.gdbinit
|
|
|
|
ChangeLog
|
|
|
|
Makefile.in
|
1994-01-18 11:29:53 +08:00
|
|
|
TODO
|
1995-12-07 09:37:31 +08:00
|
|
|
aclocal.m4
|
1993-02-23 00:20:25 +08:00
|
|
|
config
|
1995-12-07 09:37:31 +08:00
|
|
|
configure
|
1993-02-23 00:20:25 +08:00
|
|
|
configure.in
|
1998-03-13 08:22:00 +08:00
|
|
|
gdb.asm
|
Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
Reorganization of the GDB Test Suite.
* gdb.base: New directory, contains all the basic tests.
* gdb.c++: New directory, tests specific to C++.
* gdb.chill: New directory, tests specific to Chill.
* gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
into appropriate new directories (t00-t17 to base, t20-t23 to c++,
t30-31 to chill).
* */gdbme.*: Rename to match appropriate expect scripts.
* gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
* gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
gdb.c++/virtfunc.cc: New names of C++ files.
* gdb.chill/chillvars.ch: New name of Chill file.
* gdb.base/configure.in, gdb.c++/configure.in,
gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
* gdb.base/Makefile.in, gdb.c++/Makefile.in,
gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
* configure.in (configdirs): Update to reflect directory changes.
(target_abbrev): No longer define for any configuration.
* Makefile.in: Cosmetic improvements to header comments.
1994-06-07 09:50:58 +08:00
|
|
|
gdb.base
|
|
|
|
gdb.c++
|
1995-08-04 00:56:36 +08:00
|
|
|
gdb.chill
|
1993-10-17 10:09:06 +08:00
|
|
|
gdb.disasm
|
1994-08-30 05:33:43 +08:00
|
|
|
gdb.fortran
|
1993-05-31 14:04:29 +08:00
|
|
|
gdb.stabs
|
1995-07-26 08:35:07 +08:00
|
|
|
gdb.threads
|
Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
Reorganization of the GDB Test Suite.
* gdb.base: New directory, contains all the basic tests.
* gdb.c++: New directory, tests specific to C++.
* gdb.chill: New directory, tests specific to Chill.
* gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
into appropriate new directories (t00-t17 to base, t20-t23 to c++,
t30-31 to chill).
* */gdbme.*: Rename to match appropriate expect scripts.
* gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
* gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
gdb.c++/virtfunc.cc: New names of C++ files.
* gdb.chill/chillvars.ch: New name of Chill file.
* gdb.base/configure.in, gdb.c++/configure.in,
gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
* gdb.base/Makefile.in, gdb.c++/Makefile.in,
gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
* configure.in (configdirs): Update to reflect directory changes.
(target_abbrev): No longer define for any configuration.
* Makefile.in: Cosmetic improvements to header comments.
1994-06-07 09:50:58 +08:00
|
|
|
lib
|
|
|
|
|
|
|
|
Things-to-lose:
|
|
|
|
|
1993-05-27 14:44:29 +08:00
|
|
|
# The lines between the "Do-last:" line and the end of the file
|
1993-02-23 00:20:25 +08:00
|
|
|
# are executed as a /bin/sh shell script after everything else is
|
|
|
|
# done.
|
|
|
|
|
|
|
|
Do-last:
|
|
|
|
|
1998-06-25 03:07:51 +08:00
|
|
|
am33_files="ChangeLog"
|
|
|
|
if ( echo $* | grep keep\-am33 > /dev/null ) ; then
|
|
|
|
for i in $am33_files ; do
|
|
|
|
if test ! -d $i && (grep sanitize-am33 $i > /dev/null) ; then
|
|
|
|
if [ -n "${verbose}" ] ; then
|
|
|
|
echo Keeping am33 stuff in $i
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
else
|
|
|
|
for i in $am33_files ; do
|
|
|
|
if test ! -d $i && (grep sanitize-am33 $i > /dev/null) ; then
|
|
|
|
if [ -n "${verbose}" ] ; then
|
|
|
|
echo Removing traces of \"am33\" from $i...
|
|
|
|
fi
|
|
|
|
cp $i new
|
|
|
|
sed '/start\-sanitize\-am33/,/end-\sanitize\-am33/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
|
|
|
|
|
1998-06-27 08:47:35 +08:00
|
|
|
if ( echo $* | grep lose\-gdbtk > /dev/null ) ; then
|
|
|
|
echo Catering to RMS by removing traces of \"gdbtk\"...
|
|
|
|
for i in * ; do
|
|
|
|
if test ! -d $i && (grep sanitize-gdbtk $i > /dev/null) ; then
|
|
|
|
echo Removing traces of \"gdbtk\" out of $i...
|
|
|
|
cp $i new
|
|
|
|
sed '/start\-sanitize\-gdbtk/,/end-\sanitize\-gdbtk/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
|
|
|
|
else
|
|
|
|
echo Leaving \"gdbtk\" in the sources...
|
|
|
|
for i in * ; do
|
|
|
|
if test ! -d $i && (grep sanitize-gdbtk $i > /dev/null) ; then
|
|
|
|
echo Keeping \"gdbtk\" stuff in $i, but editing out sanitize lines...
|
|
|
|
cp $i new
|
|
|
|
sed -e '/start\-sanitize\-gdbtk/d' -e '/end\-sanitize\-gdbtk/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
|
|
|
|
|
1998-06-25 03:07:51 +08:00
|
|
|
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
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
|
1993-02-23 00:20:25 +08:00
|
|
|
# eof
|