diff options
author | Vladimir Prus <vladimir@codesourcery.com> | 2010-01-20 14:54:22 +0000 |
---|---|---|
committer | Vladimir Prus <vladimir@codesourcery.com> | 2010-01-20 14:54:22 +0000 |
commit | efca436ee3ce532149a7e568149edf93a75a9a5e (patch) | |
tree | e8a8b3c07d8534e132ba4faac51477f3c35018e5 | |
parent | e9d6247f3e0c88822735be45843c7d44d8d9d2b8 (diff) | |
download | gdb-efca436ee3ce532149a7e568149edf93a75a9a5e.tar.gz |
* gdb.mi/mi-async.exp: Remove check for 'async' target, because
that target was removed, and the test always runs native anyway.
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.mi/mi-async.exp | 9 |
2 files changed, 10 insertions, 4 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 0777a9e6088..c5b4f4e2895 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2010-01-20 Vladimir Prus <vladimir@codesourcery.com> + + * gdb.mi/mi-async.exp: Remove check for 'async' target, because + that target was removed, and the test always runs native anyway. + 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com> * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c, diff --git a/gdb/testsuite/gdb.mi/mi-async.exp b/gdb/testsuite/gdb.mi/mi-async.exp index e09b68cba94..79c805be664 100644 --- a/gdb/testsuite/gdb.mi/mi-async.exp +++ b/gdb/testsuite/gdb.mi/mi-async.exp @@ -17,10 +17,11 @@ # Test asynchronous Machine Interface (MI) responses. # -# This currently only works with native linux and the async remote protocol. -if { !([isnative] && [istarget *-linux*]) \ - && (![target_info exists gdb_protocol] \ - || [target_info gdb_protocol] != "async") } then { +# Because of the way this test is written, using 'start' and not using +# mi_run_cmd, it ignores whatever target the rest of GDB testsuite is +# using, and always tries to run natively. So, don't do anything unless +# we're actually testing native. +if { !([isnative] && [istarget *-linux*]) } then { return } |