aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.disasm/.Sanitize
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1995-08-07 08:48:22 +0000
committerJeff Law <law@redhat.com>1995-08-07 08:48:22 +0000
commit98395eafc91f2f61fb73830d390d0ed976a82fa0 (patch)
tree61f46b225785ae643a82a11243d6a1650a19bdd0 /gdb/testsuite/gdb.disasm/.Sanitize
parent1ca31557f59ac1af1b3275086323d5cfba93feef (diff)
downloadgdb-98395eafc91f2f61fb73830d390d0ed976a82fa0.zip
gdb-98395eafc91f2f61fb73830d390d0ed976a82fa0.tar.gz
gdb-98395eafc91f2f61fb73830d390d0ed976a82fa0.tar.bz2
* gdb.disasm/sh3.s: Source for sh3 disassembler tests.
* gdb.disasm/sh3.exp: Run the sh3 disassembler tests. * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment. * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests. sh3e disassembler tests. Sanitized out for now.
Diffstat (limited to 'gdb/testsuite/gdb.disasm/.Sanitize')
-rw-r--r--gdb/testsuite/gdb.disasm/.Sanitize26
1 files changed, 25 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.disasm/.Sanitize b/gdb/testsuite/gdb.disasm/.Sanitize
index 0fab3f2..21d98ce 100644
--- a/gdb/testsuite/gdb.disasm/.Sanitize
+++ b/gdb/testsuite/gdb.disasm/.Sanitize
@@ -30,11 +30,35 @@ hppa.mt
hppa.s
Things-to-lose:
-
+sh3.exp
+sh3.mt
+sh3.s
# The lines between the "Do-last:" line and the end of the file
# are executed as a /bin/sh shell script after everything else is
# done.
Do-last:
+
+sh3e_files="configure.in"
+if ( echo $* | grep keep\-sh3e > /dev/null ) ; then
+ if [ -n "${verbose}" ] ; then
+ echo Keeping sh3e stuff in $sh3e_files.
+ fi
+else
+ if [ -n "${verbose}" ]; then
+ echo -n Cleaning sh3e in `pwd`:
+ fi
+ for f in $sh3e_files ; do
+ if [ -n "${verbose}" ] ; then
+ echo -n " " $f
+ fi
+ sed -e '/start\-sanitize\-sh3e/,/end\-sanitize\-sh3e/d' -e '/ xl /d' < $f > new
+ if [ -n "${safe}" ] ; then
+ mv $f .Recover
+ fi
+ mv new $f
+ done
+fi
+
# eof