aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1999-02-05 17:39:42 +0000
committerJeff Law <law@redhat.com>1999-02-05 17:39:42 +0000
commit579d9a974973fe83ab911016484c2149ecf14b08 (patch)
treedc4ed94adbd01a3324eafbe1c7d6715747c80590
parent87612967437d9e557c268f492bc613d9fb321587 (diff)
downloadgdb-579d9a974973fe83ab911016484c2149ecf14b08.zip
gdb-579d9a974973fe83ab911016484c2149ecf14b08.tar.gz
gdb-579d9a974973fe83ab911016484c2149ecf14b08.tar.bz2
m32rx -> cygnus sanitization change.
-rw-r--r--sim/testsuite/.Sanitize18
-rw-r--r--sim/testsuite/m32r-elf/.Sanitize35
-rw-r--r--sim/testsuite/sim/m32r/.Sanitize32
3 files changed, 25 insertions, 60 deletions
diff --git a/sim/testsuite/.Sanitize b/sim/testsuite/.Sanitize
index 1d2f710..8dbbe2f 100644
--- a/sim/testsuite/.Sanitize
+++ b/sim/testsuite/.Sanitize
@@ -114,23 +114,23 @@ else
done
fi
-m32rx_files="configure configure.in ChangeLog"
-if ( echo $* | grep keep\-m32rx > /dev/null ) ; then
- for i in $m32rx_files ; do
- if test ! -d $i && (grep sanitize-m32rx $i > /dev/null) ; then
+cygnus_files="configure configure.in ChangeLog"
+if ( echo $* | grep keep\-cygnus > /dev/null ) ; then
+ for i in $cygnus_files ; do
+ if test ! -d $i && (grep sanitize-cygnus $i > /dev/null) ; then
if [ -n "${verbose}" ] ; then
- echo Keeping m32rx stuff in $i
+ echo Keeping cygnus stuff in $i
fi
fi
done
else
- for i in $m32rx_files ; do
- if test ! -d $i && (grep sanitize-m32rx $i > /dev/null) ; then
+ for i in $cygnus_files ; do
+ if test ! -d $i && (grep sanitize-cygnus $i > /dev/null) ; then
if [ -n "${verbose}" ] ; then
- echo Removing traces of \"m32rx\" from $i...
+ echo Removing traces of \"cygnus\" from $i...
fi
cp $i new
- sed '/start\-sanitize\-m32rx/,/end-\sanitize\-m32rx/d' < $i > new
+ sed '/start\-sanitize\-cygnus/,/end-\sanitize\-cygnus/d' < $i > new
if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
if [ -n "${verbose}" ] ; then
echo Caching $i in .Recover...
diff --git a/sim/testsuite/m32r-elf/.Sanitize b/sim/testsuite/m32r-elf/.Sanitize
index dbf61fa..bdcddb5 100644
--- a/sim/testsuite/m32r-elf/.Sanitize
+++ b/sim/testsuite/m32r-elf/.Sanitize
@@ -15,13 +15,6 @@
Do-first:
-#m32rx_files="..."
-#if ( echo $* | grep keep\-m32rx > /dev/null ) ; then
-# keep_these_too="${m32rx_files} ${keep_these_too}"
-#else
-# lose_these_too="${m32rx_files} ${lose_these_too}"
-#fi
-
# All files listed between the "Things-to-keep:" line and the
# "Files-to-sed:" line will be kept. All other files will be removed.
# Directories listed in this section will have their own Sanitize
@@ -42,32 +35,4 @@ Things-to-lose:
Do-last:
-m32rx_files="ChangeLog Makefile.in"
-if ( echo $* | grep keep\-m32rx > /dev/null ) ; then
- for i in $m32rx_files ; do
- if test ! -d $i && (grep sanitize-m32rx $i > /dev/null) ; then
- if [ -n "${verbose}" ] ; then
- echo Keeping m32rx stuff in $i
- fi
- fi
- done
-else
- for i in $m32rx_files ; do
- if test ! -d $i && (grep sanitize-m32rx $i > /dev/null) ; then
- if [ -n "${verbose}" ] ; then
- echo Removing traces of \"m32rx\" from $i...
- fi
- cp $i new
- sed '/start\-sanitize\-m32rx/,/end-\sanitize\-m32rx/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
-
# End of file.
diff --git a/sim/testsuite/sim/m32r/.Sanitize b/sim/testsuite/sim/m32r/.Sanitize
index 6c2bde7..6eb85f7 100644
--- a/sim/testsuite/sim/m32r/.Sanitize
+++ b/sim/testsuite/sim/m32r/.Sanitize
@@ -15,7 +15,7 @@
Do-first:
-m32rx_files="
+cygnus_files="
bcl24.cgs
bcl8.cgs
bncl24.cgs
@@ -54,10 +54,10 @@ sath.cgs
sc.cgs
snc.cgs"
-if ( echo $* | grep keep\-m32rx > /dev/null ) ; then
- keep_these_too="${m32rx_files} ${keep_these_too}"
+if ( echo $* | grep keep\-cygnus > /dev/null ) ; then
+ keep_these_too="${cygnus_files} ${keep_these_too}"
else
- lose_these_too="${m32rx_files} ${lose_these_too}"
+ lose_these_too="${cygnus_files} ${lose_these_too}"
fi
Things-to-keep:
@@ -177,23 +177,23 @@ Things-to-lose:
Do-last:
-m32rx_files="allinsn.exp misc.exp testutils.inc"
-if ( echo $* | grep keep\-m32rx > /dev/null ) ; then
- for i in $m32rx_files ; do
- if test ! -d $i && (grep sanitize-m32rx $i > /dev/null) ; then
+cygnus_files="allinsn.exp misc.exp testutils.inc"
+if ( echo $* | grep keep\-cygnus > /dev/null ) ; then
+ for i in $cygnus_files ; do
+ if test ! -d $i && (grep sanitize-cygnus $i > /dev/null) ; then
if [ -n "${verbose}" ] ; then
- echo Keeping m32rx stuff in $i
+ echo Keeping cygnus stuff in $i
fi
fi
done
else
- for i in $m32rx_files ; do
- if test ! -d $i && (grep sanitize-m32rx $i > /dev/null) ; then
+ for i in $cygnus_files ; do
+ if test ! -d $i && (grep sanitize-cygnus $i > /dev/null) ; then
if [ -n "${verbose}" ] ; then
- echo Removing traces of \"m32rx\" from $i...
+ echo Removing traces of \"cygnus\" from $i...
fi
cp $i new
- sed '/start\-sanitize\-m32rx/,/end-\sanitize\-m32rx/d' < $i > new
+ sed '/start\-sanitize\-cygnus/,/end-\sanitize\-cygnus/d' < $i > new
if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
if [ -n "${verbose}" ] ; then
echo Caching $i in .Recover...
@@ -203,13 +203,13 @@ else
mv new $i
fi
done
- # Remove m32rx from `mach'.
+ # Remove cygnus from `mach'.
for i in *.cgs ; do
if [ -n "${verbose}" ] ; then
- echo Removing traces of \"m32rx\" from $i...
+ echo Removing traces of \"cygnus\" from $i...
fi
cp $i new
- sed -e 's/m32rx//' < $i > new
+ sed -e 's/cygnus//' < $i > new
if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
if [ -n "${verbose}" ] ; then
echo Caching $i in .Recover...