diff options
author | Fred Fish <fnf@specifix.com> | 1997-03-22 23:52:04 +0000 |
---|---|---|
committer | Fred Fish <fnf@specifix.com> | 1997-03-22 23:52:04 +0000 |
commit | 12967062e49a2d6d15e5267a5752c977abb48403 (patch) | |
tree | b8722b140d15604df4e023a5a631104de2ddb64e /gdb/.Sanitize | |
parent | ff86eeb590ca82321a62acb7de92d52807623235 (diff) | |
download | gdb-12967062e49a2d6d15e5267a5752c977abb48403.zip gdb-12967062e49a2d6d15e5267a5752c977abb48403.tar.gz gdb-12967062e49a2d6d15e5267a5752c977abb48403.tar.bz2 |
* remote-sim.c (simulator_command): Add comment about dealing with
NULL or empty args.
start-sanitize-tic80
* Makefile.in (tic80-tdep.o): Add target.
* configure.tgt: Add tic80 case.
* tic80-tdep.c: New file.
* config/tic80/{tic80.mt, tm-tic80.h}: New files.
end-sanitize-tic80
Diffstat (limited to 'gdb/.Sanitize')
-rw-r--r-- | gdb/.Sanitize | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/gdb/.Sanitize b/gdb/.Sanitize index 2a1e6a9..6700006 100644 --- a/gdb/.Sanitize +++ b/gdb/.Sanitize @@ -74,6 +74,20 @@ else fi fi +tic80_files="tic80-tdep.c" + +if ( echo $* | grep keep\-tic80 > /dev/null ) ; then + keep_these_too="${tic80_files} ${keep_these_too}" + if [ -n "${verbose}" ] ; then + echo Keeping ${tic80_files} + fi +else + lose_these_too="${tic80_files} ${lose_these_too}" + if [ -n "${verbose}" ] ; then + echo Deleting ${tic80_files} + fi +fi + v850_files="v850ice.c v850-tdep.c" if ( echo $* | grep keep\-v850 > /dev/null ) ; then @@ -615,6 +629,33 @@ else done fi +if ( echo $* | grep keep\-tic80 > /dev/null ) ; then + for i in * ; do + if test ! -d $i && (grep sanitize-tic80 $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Keeping tic80 stuff in $i + fi + fi + done +else + for i in * ; do + if test ! -d $i && (grep sanitize-tic80 $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Removing traces of \"tic80\" from $i... + fi + cp $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... + fi + mv $i .Recover + fi + mv new $i + fi + done +fi + 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 |