mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-02-03 15:42:52 +00:00
Always keep simulators
This commit is contained in:
parent
83a4c26f54
commit
350e711979
@ -131,33 +131,7 @@ vaxult.mh
|
||||
vaxult2.mh
|
||||
vxworks68.mt
|
||||
vxworks960.mt
|
||||
|
||||
z8ksim.mt
|
||||
Do-last:
|
||||
|
||||
echo Stimulating away the simulator...
|
||||
|
||||
if ( echo $* | grep keep\-sim > /dev/null ) ; then
|
||||
echo Keeping simulator in h8300hms.mt
|
||||
else
|
||||
for i in h8300hms.mt z8ksim.mt; do
|
||||
if test -f $i ; then
|
||||
echo Tickling the \"sim\" out of $i...
|
||||
sed -e 's| remote-sim.o .*||' \
|
||||
-e 's| and H8 simulator||' \
|
||||
-e 's| Z8000 simulator| Z8000|' \
|
||||
-e 's| remote-z8k.o ../sim/z8k/libsim.a||' \
|
||||
<$i >new
|
||||
if grep sim new ; then
|
||||
echo '***' Not funny. "Didn't work."
|
||||
else
|
||||
if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
|
||||
echo Caching $i in .Recover...
|
||||
mv $i .Recover
|
||||
fi
|
||||
mv new $i
|
||||
fi
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
# End of file.
|
||||
|
Loading…
x
Reference in New Issue
Block a user