mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-28 22:40:24 +00:00
* m68k.h (mcfmac, mcfdiv): New macros.
This commit is contained in:
parent
58cfdde3e4
commit
53bcc60c44
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user