aboutsummaryrefslogtreecommitdiff
path: root/opcodes/.Sanitize
diff options
context:
space:
mode:
authorMartin Hunt <hunt@redhat.com>1996-07-18 00:49:26 +0000
committerMartin Hunt <hunt@redhat.com>1996-07-18 00:49:26 +0000
commite3659cbf49a8943c32010608668da3d54c83b36d (patch)
treec706a75018a41f8eb5ac68521328aadaf5e20fde /opcodes/.Sanitize
parent50bd50d48f63e45bd8b85dbdee1c6f2c97796b2c (diff)
downloadgdb-e3659cbf49a8943c32010608668da3d54c83b36d.zip
gdb-e3659cbf49a8943c32010608668da3d54c83b36d.tar.gz
gdb-e3659cbf49a8943c32010608668da3d54c83b36d.tar.bz2
start-sanitize-d10v
Wed Jul 17 14:39:05 1996 Martin M. Hunt <hunt@pizza.cygnus.com> * configure: (bfd_d10v_arch) Add new case. * configure.in: (bfd_d10v_arch) Add new case. * d10v-dis.c: New file. * d10v-opc.c: New file. * disassemble.c (disassembler) Add entry for d10v. end-sanitize-d10v
Diffstat (limited to 'opcodes/.Sanitize')
-rw-r--r--opcodes/.Sanitize36
1 files changed, 36 insertions, 0 deletions
diff --git a/opcodes/.Sanitize b/opcodes/.Sanitize
index e769094..a48dfd8 100644
--- a/opcodes/.Sanitize
+++ b/opcodes/.Sanitize
@@ -23,6 +23,14 @@ else
lose_these_too="${arc_files} ${lose_these_too}"
fi
+d10v_files="d10v-dis.c d10v-opc.c"
+
+if ( echo $* | grep keep\-d10v > /dev/null ) ; then
+ keep_these_too="${d10v_files} ${keep_these_too}"
+else
+ lose_these_too="${d10v_files} ${lose_these_too}"
+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
@@ -105,6 +113,34 @@ else
done
fi
+d10v_files="ChangeLog Makefile.in configure.in configure disassemble.c"
+if ( echo $* | grep keep\-d10v > /dev/null ) ; then
+ for i in $d10v_files ; do
+ if test ! -d $i && (grep sanitize-d10v $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Keeping d10v stuff in $i
+ fi
+ fi
+ done
+else
+ for i in $d10v_files ; do
+ if test ! -d $i && (grep sanitize-d10v $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Removing traces of \"d10v\" from $i...
+ fi
+ cp $i new
+ sed '/start\-sanitize\-d10v/,/end-\sanitize\-d10v/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