aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>1997-09-20 23:40:50 +0000
committerNick Clifton <nickc@redhat.com>1997-09-20 23:40:50 +0000
commitf13f11b494d9e6665897bd3dc785e53fc59d925f (patch)
tree3efe61b36611c119d3beee1ea8f0d938c4c987b6
parentd345d883409a87e52662e0aa6e001dd3c8261d7d (diff)
downloadgdb-f13f11b494d9e6665897bd3dc785e53fc59d925f.zip
gdb-f13f11b494d9e6665897bd3dc785e53fc59d925f.tar.gz
gdb-f13f11b494d9e6665897bd3dc785e53fc59d925f.tar.bz2
Removed the v850eq sanitization
-rw-r--r--sim/.Sanitize46
-rw-r--r--sim/configure.in4
-rw-r--r--sim/v850/.Sanitize29
3 files changed, 7 insertions, 72 deletions
diff --git a/sim/.Sanitize b/sim/.Sanitize
index d410d5e..d2887c8 100644
--- a/sim/.Sanitize
+++ b/sim/.Sanitize
@@ -15,33 +15,21 @@
Do-first:
-igen_files="igen"
-
d30v_files="d30v testsuite"
if ( echo $* | grep keep\-d30v > /dev/null ) ; then
- keep_these_too="${d30v_files} ${igen_files} ${keep_these_too}"
- igen_files=
+ keep_these_too="${d30v_files} ${keep_these_too}"
else
lose_these_too="${d30v_files} ${lose_these_too}"
fi
tic80_files="tic80"
if ( echo $* | grep keep\-tic80 > /dev/null ) ; then
- keep_these_too="${tic80_files} ${igen_files} ${keep_these_too}"
- igen_files=
+ keep_these_too="${tic80_files} ${keep_these_too}"
else
lose_these_too="${tic80_files} ${lose_these_too}"
fi
-v850_files="v850"
-if ( echo $* | grep keep\-v850 > /dev/null ) ; then
- keep_these_too="${v850_files} ${igen_files} ${keep_these_too}"
- igen_files=
-else
- lose_these_too="${v850_files} ${lose_these_too}"
-fi
-
-lose_these_too="${igen_files} ${lose_these_too}"
+lose_these_too="${lose_these_too}"
# All files listed between the "Things-to-keep:" line and the
# "Files-to-sed:" line will be kept. All other files will be removed.
@@ -62,12 +50,14 @@ d10v
erc32
h8300
h8500
+igen
m32r
mips
mn10200
mn10300
ppc
sh
+v850
w65
z8k
@@ -133,32 +123,6 @@ else
fi
v850_files="configure configure.in ChangeLog"
-if ( echo $* | grep keep\-v850eq > /dev/null ) ; then
- for i in $v850_files ; do
- if test ! -d $i && (grep sanitize-v850eq $i > /dev/null) ; then
- if [ -n "${verbose}" ] ; then
- echo Keeping v850eq stuff in $i
- fi
- fi
- done
-else
- for i in $v850_files ; do
- if test ! -d $i && (grep sanitize-v850eq $i > /dev/null) ; then
- if [ -n "${verbose}" ] ; then
- echo Removing traces of \"v850eq\" from $i...
- fi
- cp $i new
- sed '/start\-sanitize\-v850eq/,/end-\sanitize\-v850eq/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
if ( echo $* | grep keep\-v850e > /dev/null ) ; then
for i in $v850_files ; do
if test ! -d $i && (grep sanitize-v850e $i > /dev/null) ; then
diff --git a/sim/configure.in b/sim/configure.in
index 395e459..7f0dc19 100644
--- a/sim/configure.in
+++ b/sim/configure.in
@@ -101,15 +101,13 @@ case "${target}" in
extra_subdirs="${extra_subdirs} igen"
only_if_gcc=yes
;;
-# end-sanitize-v850e
-# start-sanitize-v850eq
v850eq-*-*)
# The V850 simulator can only be compiled by gcc.
sim_target=v850
extra_subdirs="${extra_subdirs} igen"
only_if_gcc=yes
;;
-# end-sanitize-v850eq
+# end-sanitize-v850e
w65-*-*)
sim_target=w65
# The w65 is suffering from gradual decay.
diff --git a/sim/v850/.Sanitize b/sim/v850/.Sanitize
index 1fde6fc..e21fc66 100644
--- a/sim/v850/.Sanitize
+++ b/sim/v850/.Sanitize
@@ -40,34 +40,7 @@ Things-to-lose:
Do-last:
-# NOTE: keep-v850eq keeps all of keep-v850e as well.
-v850e_files="interp.c simops.c v850_sim.h v850.igen v850-dc"
-if ( echo $* | grep keep\-v850eq > /dev/null ) ; then
- for i in $v850e_files ; do
- if test -r $i && (grep sanitize-v850eq $i > /dev/null) ; then
- if [ -n "${verbose}" ] ; then
- echo Keeping v850eq stuff in $i
- fi
- fi
- done
-else
- for i in $v850e_files ; do
- if test -r $i && (grep sanitize-v850eq $i > /dev/null) ; then
- if [ -n "${verbose}" ] ; then
- echo Removing traces of \"v850eq\" from $i...
- fi
- cp $i new
- sed '/start\-sanitize\-v850eq/,/end-\sanitize\-v850eq/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
+v850e_files="interp.c simops.c v850.igen v850-dc"
if ( echo $* | grep keep\-v850e > /dev/null ) ; then
for i in $v850e_files ; do
if test -r $i && (grep sanitize-v850e $i > /dev/null) ; then