diff options
author | David Edelsohn <dje.gcc@gmail.com> | 1996-10-31 18:59:51 +0000 |
---|---|---|
committer | David Edelsohn <dje.gcc@gmail.com> | 1996-10-31 18:59:51 +0000 |
commit | 2b5c4499c231c155c13795d015ed40416ed3e8a2 (patch) | |
tree | a797e3f371c0ec0bec5abb774bd568059a32dd87 /binutils | |
parent | 5477ff627bb45fbb7d69acb1269422310dbf65b2 (diff) | |
download | gdb-2b5c4499c231c155c13795d015ed40416ed3e8a2.zip gdb-2b5c4499c231c155c13795d015ed40416ed3e8a2.tar.gz gdb-2b5c4499c231c155c13795d015ed40416ed3e8a2.tar.bz2 |
(set_expected_cpus): Add m32r.
Diffstat (limited to 'binutils')
-rw-r--r-- | binutils/testsuite/binutils-all/.Sanitize | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/binutils/testsuite/binutils-all/.Sanitize b/binutils/testsuite/binutils-all/.Sanitize index 9e9c2d1..85a75d1 100644 --- a/binutils/testsuite/binutils-all/.Sanitize +++ b/binutils/testsuite/binutils-all/.Sanitize @@ -76,6 +76,39 @@ else done fi +if [ -n "${verbose}" ] ; then + echo Processing \"m32r\"... +fi + +m32r_files="objdump.exp" + +if ( echo $* | grep keep\-m32r > /dev/null ) ; then + for i in $m32r_files ; do + if test ! -d $i && (grep sanitize-m32r $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Keeping m32r stuff in $i + fi + fi + done +else + for i in * ; do + if test ! -d $i && (grep sanitize-m32r $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Removing traces of \"m32r\" from $i... + fi + cp $i new + sed '/start\-sanitize\-m32r/,/end-\sanitize\-m32r/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 echo '***' Some mentions of Sanitize are still left in $i! 1>&2 |