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 | 0cad6edd3e6871a7d50469f7c2300b3744e540e1 (patch) | |
tree | 95482a02994951a15951155aa78136f51865f404 /gdb/testsuite/lib/mi-support.exp | |
parent | 3aca9a6fb09b011361cf931f5fc9e3850189c12b (diff) | |
download | gdb-0cad6edd3e6871a7d50469f7c2300b3744e540e1.tar.gz |
When GDB doesn't recognize the -i=mi option, assume there is no MI support.
Diffstat (limited to 'gdb/testsuite/lib/mi-support.exp')
-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 7d207df08a1..1cad1b12977 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; |