aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1993-02-18 08:10:17 +0000
committerJohn Gilmore <gnu@cygnus>1993-02-18 08:10:17 +0000
commitf48dd41c6ae66c7ce75a4d5a23373d51f02574c0 (patch)
treef83faf454221699489658510d0cee724db7629d0 /gdb
parentbe220da15ab003d04e4a7e17096a0d98b1c5b2a3 (diff)
downloadgdb-f48dd41c6ae66c7ce75a4d5a23373d51f02574c0.zip
gdb-f48dd41c6ae66c7ce75a4d5a23373d51f02574c0.tar.gz
gdb-f48dd41c6ae66c7ce75a4d5a23373d51f02574c0.tar.bz2
Sanitize away simulators unless asked to keep-sim.
This is to remove them from the GDB net release til ready for prime time.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/config/.Sanitize27
1 files changed, 27 insertions, 0 deletions
diff --git a/gdb/config/.Sanitize b/gdb/config/.Sanitize
index ad4494c..50347bc 100644
--- a/gdb/config/.Sanitize
+++ b/gdb/config/.Sanitize
@@ -44,6 +44,7 @@ delta88.mh
delta88.mt
es1800.mt
go32.mh
+h8300hms.mt
hp300bsd.mh
hp300bsd.mt
hp300hpux.mh
@@ -131,4 +132,30 @@ vxworks960.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.