aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJ.T. Conklin <jtc@acorntoolworks.com>1997-03-19 14:27:26 +0000
committerJ.T. Conklin <jtc@acorntoolworks.com>1997-03-19 14:27:26 +0000
commit53bcc60c44310b35953dedb58484722f4cda7414 (patch)
treeb142b9c96d2340c8eb954f9f8125edb5af0d0218 /include
parent58cfdde3e4749c05e6c9913e7d44610abe417a73 (diff)
downloadgdb-53bcc60c44310b35953dedb58484722f4cda7414.zip
gdb-53bcc60c44310b35953dedb58484722f4cda7414.tar.gz
gdb-53bcc60c44310b35953dedb58484722f4cda7414.tar.bz2
* m68k.h (mcfmac, mcfdiv): New macros.
Diffstat (limited to 'include')
-rw-r--r--include/opcode/.Sanitize28
1 files changed, 28 insertions, 0 deletions
diff --git a/include/opcode/.Sanitize b/include/opcode/.Sanitize
index 2af2e1d..6301908 100644
--- a/include/opcode/.Sanitize
+++ b/include/opcode/.Sanitize
@@ -226,6 +226,34 @@ else
done
fi
+coldfire_files="ChangeLog m68k.h"
+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