mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-25 13:09:48 +00:00
i960xl support (sanitized)
This commit is contained in:
parent
c5b34aeeda
commit
b55701fa46
@ -50,4 +50,25 @@ Things-to-lose:
|
||||
|
||||
Do-last:
|
||||
|
||||
i960xl_files="ChangeLog i960.h"
|
||||
if ( echo $* | grep keep\-i960xl > /dev/null ) ; then
|
||||
if [ -n "${verbose}" ] ; then
|
||||
echo Keeping i960xl stuff in $i960xl_files.
|
||||
fi
|
||||
else
|
||||
if [ -n "${verbose}" ]; then
|
||||
echo -n Cleaning i960xl in `pwd`:
|
||||
fi
|
||||
for f in $i960xl_files ; do
|
||||
if [ -n "${verbose}" ] ; then
|
||||
echo -n " " $f
|
||||
fi
|
||||
sed '/start\-sanitize\-i960xl/,/end\-sanitize\-i960xl/d' < $f > new
|
||||
if [ -n "${safe}" ] ; then
|
||||
mv $f .Recover
|
||||
fi
|
||||
mv new $f
|
||||
done
|
||||
fi
|
||||
|
||||
# End of file.
|
||||
|
Loading…
Reference in New Issue
Block a user