This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RFA: Properly detect that GDB was compiled without MI support



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;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]