diff options
author | Ian Carmichael <iancarm@cygnus> | 1998-01-15 15:45:41 +0000 |
---|---|---|
committer | Ian Carmichael <iancarm@cygnus> | 1998-01-15 15:45:41 +0000 |
commit | 1d37a68fe471cf6b920307a33eae7bd9b990030e (patch) | |
tree | b4eaf99c6b7c6d00b374176b03fbbc07e62d981b /sim | |
parent | 8ef2d81aa88ade6931530841c532d500f1f0dc12 (diff) | |
download | gdb-1d37a68fe471cf6b920307a33eae7bd9b990030e.zip gdb-1d37a68fe471cf6b920307a33eae7bd9b990030e.tar.gz gdb-1d37a68fe471cf6b920307a33eae7bd9b990030e.tar.bz2 |
* configure.in: Add sky support
* configure: Regenerated
Diffstat (limited to 'sim')
-rw-r--r-- | sim/.Sanitize | 27 | ||||
-rw-r--r-- | sim/configure.in | 8 |
2 files changed, 35 insertions, 0 deletions
diff --git a/sim/.Sanitize b/sim/.Sanitize index 32b2f78..e2c24a7 100644 --- a/sim/.Sanitize +++ b/sim/.Sanitize @@ -158,6 +158,33 @@ else done fi +txvu_files="configure configure.in ChangeLog" +if ( echo $* | grep keep\-sky > /dev/null ) ; then + for i in $txvu_files ; do + if test ! -d $i && (grep sanitize-sky $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Keeping sky stuff in $i + fi + fi + done +else + for i in $txvu_files ; do + if test ! -d $i && (grep sanitize-sky $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Removing traces of \"sky\" from $i... + fi + cp $i new + sed '/start\-sanitize\-sky/,/end-\sanitize\-sky/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 diff --git a/sim/configure.in b/sim/configure.in index aa7b6d1..4797eb9 100644 --- a/sim/configure.in +++ b/sim/configure.in @@ -66,6 +66,14 @@ case "${target}" in only_if_gcc=yes extra_subdirs="${extra_subdirs} igen" ;; +# start-sanitize-sky + txvu-*-*) + # The Sky simulator + sim_target=txvu + only_if_gcc=yes + extra_subdirs="${extra_subdirs} igen" + ;; +# end-sanitize-sky mn10300*-*-*) # The mn10300 simulator can only be compiled by gcc. sim_target=mn10300 |