aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/.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/.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/.Sanitize')
-rw-r--r--gdb/testsuite/.Sanitize20
1 files changed, 20 insertions, 0 deletions
diff --git a/gdb/testsuite/.Sanitize b/gdb/testsuite/.Sanitize
index 6576c68..fec24fb 100644
--- a/gdb/testsuite/.Sanitize
+++ b/gdb/testsuite/.Sanitize
@@ -45,5 +45,25 @@ Things-to-lose:
# done.
Do-last:
+sh3e_files="ChangeLog"
+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