* gdb.mi/mi-async.exp: Remove check for 'async' target, because

that target was removed, and the test always runs native anyway.
This commit is contained in:
Vladimir Prus 2010-01-20 14:54:23 +00:00
parent 3f81c18a86
commit fcae584be5
2 changed files with 10 additions and 4 deletions

View File

@ -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,

View File

@ -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
}