aboutsummaryrefslogtreecommitdiff
path: root/sim/testsuite/d10v-elf
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2000-04-18 07:55:35 +0000
committerAndrew Cagney <cagney@redhat.com>2000-04-18 07:55:35 +0000
commit27842f65f27045c0f1d7885d4f34ac37625e645c (patch)
treeca3d983925949aadbbb5eece5ab9f9327fc3666b /sim/testsuite/d10v-elf
parent5ba474214c1c89d7d3efe4b6d8bc465b9c8c5042 (diff)
downloadgdb-27842f65f27045c0f1d7885d4f34ac37625e645c.zip
gdb-27842f65f27045c0f1d7885d4f34ac37625e645c.tar.gz
gdb-27842f65f27045c0f1d7885d4f34ac37625e645c.tar.bz2
Add support for SIGILL (reserved-instruction-exception).
Diffstat (limited to 'sim/testsuite/d10v-elf')
-rw-r--r--sim/testsuite/d10v-elf/ChangeLog5
-rw-r--r--sim/testsuite/d10v-elf/Makefile.in1
-rw-r--r--sim/testsuite/d10v-elf/t-rie-xx.s12
3 files changed, 18 insertions, 0 deletions
diff --git a/sim/testsuite/d10v-elf/ChangeLog b/sim/testsuite/d10v-elf/ChangeLog
index a7cf211..11d4319 100644
--- a/sim/testsuite/d10v-elf/ChangeLog
+++ b/sim/testsuite/d10v-elf/ChangeLog
@@ -1,3 +1,8 @@
+Tue Apr 18 16:32:07 2000 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * t-rie-xx.s (test_rie_xx): New test.
+ * Makefile.in (TESTS): Update.
+
Tue Feb 22 17:36:34 2000 Andrew Cagney <cagney@b1.cygnus.com>
* Makefile.in: Force d10v into operating mode.
diff --git a/sim/testsuite/d10v-elf/Makefile.in b/sim/testsuite/d10v-elf/Makefile.in
index 40e9646..0626ee8 100644
--- a/sim/testsuite/d10v-elf/Makefile.in
+++ b/sim/testsuite/d10v-elf/Makefile.in
@@ -83,6 +83,7 @@ TESTS = \
t-ae-st2w-ip.ok \
t-ae-st2w-is.ok \
t-mod-ld-pre.ok \
+ t-rie-xx.ok \
#
AS_FOR_TARGET = `\
diff --git a/sim/testsuite/d10v-elf/t-rie-xx.s b/sim/testsuite/d10v-elf/t-rie-xx.s
new file mode 100644
index 0000000..2a6fcbd
--- /dev/null
+++ b/sim/testsuite/d10v-elf/t-rie-xx.s
@@ -0,0 +1,12 @@
+.include "t-macros.i"
+
+ start
+
+ PSW_BITS = 0
+ point_dmap_at_imem
+ check_interrupt (VEC_RIE&DMAP_MASK)+DMAP_BASE PSW_BITS test_rie_xx
+
+test_rie_xx:
+ .short 0xe120, 0x0000 ;; Example of RIE code
+ nop
+ exit47