aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.xml/tdesc-arch.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.xml/tdesc-arch.exp')
-rw-r--r--gdb/testsuite/gdb.xml/tdesc-arch.exp5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.xml/tdesc-arch.exp b/gdb/testsuite/gdb.xml/tdesc-arch.exp
index ac03130..fdec9c4 100644
--- a/gdb/testsuite/gdb.xml/tdesc-arch.exp
+++ b/gdb/testsuite/gdb.xml/tdesc-arch.exp
@@ -32,6 +32,11 @@ gdb_test_multiple "set architecture" $msg {
set arch2 $expect_out(2,string)
pass $msg
}
+ -re "Requires an argument. Valid arguments are (\[^ \]*), auto\\.\r\n$gdb_prompt $" {
+ # If there is just one supported architecture, we can't do this test.
+ unsupported "tdesc-arch.exp"
+ return -1
+ }
}
set default_arch ""