aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/structs.exp
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-01-06 14:42:39 +0000
committerAndrew Cagney <cagney@redhat.com>2002-01-06 14:42:39 +0000
commit9fbfe2dc646f029caeb2b69f597bfd4acb2954fa (patch)
tree92b8ed0593fd80f5a0c4c38651caa5f6a6d0f2b0 /gdb/testsuite/gdb.base/structs.exp
parentd7861ad2a51101a548ed5a8cff4aaa548e0cfaf4 (diff)
downloadgdb-9fbfe2dc646f029caeb2b69f597bfd4acb2954fa.zip
gdb-9fbfe2dc646f029caeb2b69f597bfd4acb2954fa.tar.gz
gdb-9fbfe2dc646f029caeb2b69f597bfd4acb2954fa.tar.bz2
Fix PR gdb/66.
* gdb.base/structs.exp: Replace skip for a29k with skip for gdb,cannot_call_functions. * gdb.base/call-ar-st.exp: Remove references to a29k in comments. * gdb.base/callfuncs.exp: Ditto. * gdb.base/call-rt-st.exp: Ditto. * gdb.base/call-strs.exp: Ditto. * gdb.base/callfwmall.exp: Ditto. * gdb.base/scope.exp: Obsolete xfail a29k. * gdb.c++/misc.exp: Ditto. * gdb.c++/cplusfuncs.exp: Ditto. * gdb.base/ptype.exp: Ditto. * gdb.base/printcmds.exp: Ditto. * gdb.base/opaque.exp: Ditto. * gdb.base/list.exp: Ditto. * gdb.base/funcargs.exp: Ditto. * gdb.base/default.exp: Ditto.
Diffstat (limited to 'gdb/testsuite/gdb.base/structs.exp')
-rw-r--r--gdb/testsuite/gdb.base/structs.exp10
1 files changed, 6 insertions, 4 deletions
diff --git a/gdb/testsuite/gdb.base/structs.exp b/gdb/testsuite/gdb.base/structs.exp
index 75d65dc..0203daa 100644
--- a/gdb/testsuite/gdb.base/structs.exp
+++ b/gdb/testsuite/gdb.base/structs.exp
@@ -47,10 +47,12 @@ if [get_compiler_info ${binfile}] {
return -1;
}
-# The a29k can't call functions, so don't even bother with this test.
-if [istarget "a29k-*-udi"] then {
- setup_xfail "a29k-*-udi" 2416
- fail "a29k-*-udi can not call functions"
+
+# Some targets can't call functions, so don't even bother with this
+# test.
+if [target_info exists gdb,cannot_call_functions] {
+ setup_xfail "*-*-*" 2416
+ fail "This target can not call functions"
continue
}