This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
RFA: Properly detect that GDB was compiled without MI support
- To: gdb-patches at sources dot redhat dot com
- Subject: RFA: Properly detect that GDB was compiled without MI support
- From: Jim Blandy <jimb at zwingli dot cygnus dot com>
- Date: Tue, 5 Jun 2001 16:01:24 -0500 (EST)
gdb/testsuite/gdb.mi/ChangeLog-mi:
2001-06-05 Jim Blandy <jimb@redhat.com>
* lib/mi-support.exp: Recognize new error message, indicating that GDB
was compiled without MI support.
Index: gdb/testsuite/lib/mi-support.exp
===================================================================
RCS file: /cvs/cvsfiles/devo/gdb/testsuite/lib/mi-support.exp,v
retrieving revision 1.24
diff -c -r1.24 mi-support.exp
*** gdb/testsuite/lib/mi-support.exp 2001/01/15 12:28:02 1.24
--- gdb/testsuite/lib/mi-support.exp 2001/06/05 20:57:06
***************
*** 130,136 ****
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;
--- 130,136 ----
remote_close host;
return -1;
}
! -re ".*(unrecognized option.*for a complete list of options.)|(Interpreter `mi' unrecognized)" {
untested "Skip mi tests (not compiled with mi support)."
remote_close host;
return -1;