aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.asm/asm-source.exp
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2001-12-13 13:42:19 +0000
committerCorinna Vinschen <corinna@vinschen.de>2001-12-13 13:42:19 +0000
commit105ba819229cbdaf720200da3138847f57e70167 (patch)
tree0d17630bc694dddbe3184e5cd5d7075e650019d5 /gdb/testsuite/gdb.asm/asm-source.exp
parent0c884e17826fa058f5c8080d08a6f24abd1b3ddc (diff)
downloadgdb-105ba819229cbdaf720200da3138847f57e70167.zip
gdb-105ba819229cbdaf720200da3138847f57e70167.tar.gz
gdb-105ba819229cbdaf720200da3138847f57e70167.tar.bz2
* gdb.asm/asm-source.exp: Add support for xstormy16.
* gdb.asm/configure.in: Ditto. * gdb.asm/configure: Rebuild. * gdb.asm/xstormy16.inc: New file.
Diffstat (limited to 'gdb/testsuite/gdb.asm/asm-source.exp')
-rw-r--r--gdb/testsuite/gdb.asm/asm-source.exp5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.asm/asm-source.exp b/gdb/testsuite/gdb.asm/asm-source.exp
index a864686..12fb43e 100644
--- a/gdb/testsuite/gdb.asm/asm-source.exp
+++ b/gdb/testsuite/gdb.asm/asm-source.exp
@@ -50,6 +50,11 @@ if [istarget "m32r*-*"] then {
if [istarget "sparc-*-*"] then {
set asm-arch sparc
}
+if [istarget "xstormy16-*-*"] then {
+ set asm-arch xstormy16
+ set asm-flags "-gdwarf2 -I${srcdir}/${subdir} -I${objdir}/${subdir}"
+ set link-flags "-L${objdir}/../../gcc"
+}
if { "${asm-arch}" == "" } {
gdb_suppress_entire_file "Assembly source test -- not implemented for this target."
}