mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-02-13 21:49:40 +00:00
ns32k files; i960xl sanitization
This commit is contained in:
parent
9a402d7ac5
commit
f68880ead9
@ -138,6 +138,8 @@ te-linux.h
|
||||
te-lynx.h
|
||||
te-mach.h
|
||||
te-netbsd.h
|
||||
te-netbsd532.h
|
||||
te-pc532mach.h
|
||||
te-sco386.h
|
||||
te-sun3.h
|
||||
te-sysv32.h
|
||||
@ -148,4 +150,25 @@ Things-to-lose:
|
||||
|
||||
Do-last:
|
||||
|
||||
i960xl_files=tc-i960.c
|
||||
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
|
||||
grep -v XL < $f > new
|
||||
if [ -n "${safe}" ] ; then
|
||||
mv $f .Recover
|
||||
fi
|
||||
mv new $f
|
||||
done
|
||||
fi
|
||||
|
||||
# End of file.
|
||||
|
Loading…
x
Reference in New Issue
Block a user