diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2007-03-09 00:14:07 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2007-03-09 00:14:07 +0000 |
commit | 9c6759c1a15bd2e331bcfbef32d24f050cfc5fc8 (patch) | |
tree | 9ae19e06928ab071f87d007a7979c9e1014c7d5d /gdb/testsuite | |
parent | 9addded63352d213d1e58e843d93f80f97554846 (diff) | |
download | gdb-9c6759c1a15bd2e331bcfbef32d24f050cfc5fc8.zip gdb-9c6759c1a15bd2e331bcfbef32d24f050cfc5fc8.tar.gz gdb-9c6759c1a15bd2e331bcfbef32d24f050cfc5fc8.tar.bz2 |
* gdb.xml/tdesc-arch.exp: Test is unsupported on target with
just a single architecture.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.xml/tdesc-arch.exp | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index bc3ab33..6f9c051 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,5 +1,10 @@ 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> + * gdb.xml/tdesc-arch.exp: Test is unsupported on target with + just a single architecture. + +2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> + * gdb.base/callfuncs.exp (do_get_all_registers): Remove. (fetch_all_registers): New function, uses gdb_test_multiple and exp_continue to fetch inferior output line-by-line. 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 "" |