From 76c520e05ca8cbacbd781c0d500e939e37cf100a Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Sat, 4 Mar 2000 03:01:38 +0000 Subject: When GDB doesn't recognize the -i=mi option, assume there is no MI support. --- gdb/testsuite/lib/mi-support.exp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gdb/testsuite/lib') diff --git a/gdb/testsuite/lib/mi-support.exp b/gdb/testsuite/lib/mi-support.exp index 7d207df..1cad1b1 100644 --- a/gdb/testsuite/lib/mi-support.exp +++ b/gdb/testsuite/lib/mi-support.exp @@ -130,6 +130,11 @@ proc mi_gdb_start { } { remote_close host; return -1; } + -re ".*unrecognized option.*for a complete list of options." { + untested "Skip mi tests (not compiled with mi support)." + remote_close host; + return -1; + } timeout { perror "(timeout) GDB never initialized after 10 seconds." remote_close host; -- cgit v1.1