diff options
author | Vladimir Prus <vladimir@codesourcery.com> | 2010-01-20 14:54:23 +0000 |
---|---|---|
committer | Vladimir Prus <vladimir@codesourcery.com> | 2010-01-20 14:54:23 +0000 |
commit | fcae584be5cceb7cd0b5adab5dce5bf3d7356750 (patch) | |
tree | 01b5dcf7282b4b41fcf478f1a1546ff6dd94c42b /gdb/testsuite/gdb.mi | |
parent | 3f81c18a86568f2d36fda242e9221a3526550f64 (diff) | |
download | gdb-fcae584be5cceb7cd0b5adab5dce5bf3d7356750.zip gdb-fcae584be5cceb7cd0b5adab5dce5bf3d7356750.tar.gz gdb-fcae584be5cceb7cd0b5adab5dce5bf3d7356750.tar.bz2 |
* gdb.mi/mi-async.exp: Remove check for 'async' target, because
that target was removed, and the test always runs native anyway.
Diffstat (limited to 'gdb/testsuite/gdb.mi')
-rw-r--r-- | gdb/testsuite/gdb.mi/mi-async.exp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/gdb/testsuite/gdb.mi/mi-async.exp b/gdb/testsuite/gdb.mi/mi-async.exp index e09b68c..79c805b 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 } |