aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1996-08-23 17:10:41 +0000
committerJeff Law <law@redhat.com>1996-08-23 17:10:41 +0000
commit4fc797ff5cb66a7ee878820eea2c14f39341cd10 (patch)
tree4907a9a927a029048fc88754ab57c206c0fb6785 /gas
parentc262d7d8f4ef36c2461650f777d95a728af5768f (diff)
downloadgdb-4fc797ff5cb66a7ee878820eea2c14f39341cd10.zip
gdb-4fc797ff5cb66a7ee878820eea2c14f39341cd10.tar.gz
gdb-4fc797ff5cb66a7ee878820eea2c14f39341cd10.tar.bz2
* gas/v850/basic.exp (misc_tests): No longer expect failures
assembling "trap" opcodes. * gas/v850/misc.s: Re-enable assembling of "trap" opcodes.
Diffstat (limited to 'gas')
-rw-r--r--gas/testsuite/ChangeLog4
-rwxr-xr-xgas/testsuite/gas/v850/basic.exp7
-rw-r--r--gas/testsuite/gas/v850/misc.s4
3 files changed, 9 insertions, 6 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 8720782..0be78a5 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,6 +1,10 @@
start-sanitize-v850
Fri Aug 23 11:02:55 1996 Jeffrey A Law (law@cygnus.com)
+ * gas/v850/basic.exp (misc_tests): No longer expect failures
+ assembling "trap" opcodes.
+ * gas/v850/misc.s: Re-enable assembling of "trap" opcodes.
+
* gas/v850: New directory with v850 tests.
end-sanitize-v850
diff --git a/gas/testsuite/gas/v850/basic.exp b/gas/testsuite/gas/v850/basic.exp
index 21e25ea..f428c89 100755
--- a/gas/testsuite/gas/v850/basic.exp
+++ b/gas/testsuite/gas/v850/basic.exp
@@ -300,6 +300,8 @@ proc do_misc {} {
-re "^ +\[0-9\]+ 0008\[^\n\]*\n" { set x [expr $x+1] }
-re "^ +\[0-9\]+ 000c\[^\n\]*\n" { set x [expr $x+1] }
-re "^ +\[0-9\]+ 000e\[^\n\]*\n" { set x [expr $x+1] }
+ -re "^ +\[0-9\]+ 0012\[^\n\]*\n" { set x [expr $x+1] }
+ -re "^ +\[0-9\]+ 0016\[^\n\]*\n" { set x [expr $x+1] }
-re "\[^\n\]*\n" { }
timeout { perror "timeout\n"; break }
eof { break }
@@ -311,10 +313,7 @@ proc do_misc {} {
gas_finish
# Did we find what we were looking for? If not, flunk it.
- if [expr $x==5] then { pass $testname } else { fail $testname }
-
- setup_xfail "*-*-*"
- fail "misc.s: trap tests"
+ if [expr $x==7] then { pass $testname } else { fail $testname }
setup_xfail "*-*-*"
fail "misc.s: ldsr and stsr tests"
diff --git a/gas/testsuite/gas/v850/misc.s b/gas/testsuite/gas/v850/misc.s
index c436e2b..a1db6bf 100644
--- a/gas/testsuite/gas/v850/misc.s
+++ b/gas/testsuite/gas/v850/misc.s
@@ -7,7 +7,7 @@ misc:
halt
nop
reti
-# trap 0
-# trap 31
+ trap 0
+ trap 31
# ldsr r5,r6
# stsr r6,r5