aboutsummaryrefslogtreecommitdiff
path: root/opcodes/.Sanitize
diff options
context:
space:
mode:
authorJ.T. Conklin <jtc@acorntoolworks.com>1997-03-19 14:56:05 +0000
committerJ.T. Conklin <jtc@acorntoolworks.com>1997-03-19 14:56:05 +0000
commit3b12e2d3c81f7446d884e3773a16c2f938a48bcc (patch)
tree709d3e80a6912f1c35abb088bf4ce4aa553d5f55 /opcodes/.Sanitize
parent53bcc60c44310b35953dedb58484722f4cda7414 (diff)
downloadgdb-3b12e2d3c81f7446d884e3773a16c2f938a48bcc.zip
gdb-3b12e2d3c81f7446d884e3773a16c2f938a48bcc.tar.gz
gdb-3b12e2d3c81f7446d884e3773a16c2f938a48bcc.tar.bz2
* m68k-opc.c (m68k_opcodes): Provide coldfire division module
instructions.
Diffstat (limited to 'opcodes/.Sanitize')
-rw-r--r--opcodes/.Sanitize27
1 files changed, 27 insertions, 0 deletions
diff --git a/opcodes/.Sanitize b/opcodes/.Sanitize
index d96b7c2..9be9214 100644
--- a/opcodes/.Sanitize
+++ b/opcodes/.Sanitize
@@ -249,6 +249,33 @@ else
done
fi
+coldfire_files="ChangeLog m68k-opc.c"
+if ( echo $* | grep keep\-coldfire > /dev/null ) ; then
+ for i in $coldfire_files ; do
+ if test ! -d $i && (grep sanitize-coldfire $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Keeping coldfire stuff in $i
+ fi
+ fi
+ done
+else
+ for i in $coldfire_files ; do
+ if test ! -d $i && (grep sanitize-coldfire $i > /dev/null) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Removing traces of \"coldfire\" from $i...
+ fi
+ cp $i new
+ sed '/start\-sanitize\-coldfire/,/end-\sanitize\-coldfire/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