diff options
author | Andrew Cagney <cagney@redhat.com> | 2000-03-04 03:01:38 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2000-03-04 03:01:38 +0000 |
commit | 76c520e05ca8cbacbd781c0d500e939e37cf100a (patch) | |
tree | 5eb457cf4df1b68b114b6e41da4904123ba6ff6a /gdb/testsuite/lib | |
parent | 082faf240ec27a125674eed0782a50cbb2aed512 (diff) | |
download | gdb-76c520e05ca8cbacbd781c0d500e939e37cf100a.zip gdb-76c520e05ca8cbacbd781c0d500e939e37cf100a.tar.gz gdb-76c520e05ca8cbacbd781c0d500e939e37cf100a.tar.bz2 |
When GDB doesn't recognize the -i=mi option, assume there is no MI support.
Diffstat (limited to 'gdb/testsuite/lib')
-rw-r--r-- | gdb/testsuite/lib/mi-support.exp | 5 |
1 files changed, 5 insertions, 0 deletions
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; |