This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: RFA: Properly detect that GDB was compiled without MI support
- To: Jim Blandy <jimb at cygnus dot com>
- Subject: Re: RFA: Properly detect that GDB was compiled without MI support
- From: Elena Zannoni <ezannoni at cygnus dot com>
- Date: Wed, 6 Jun 2001 17:10:22 -0400
- Cc: gdb-patches at sources dot redhat dot com
- References: <20010605210124.AABD95E9CB@zwingli.cygnus.com>
Jim, I must be seeing double, but I think this output is already
handled in the -re directly below the one you changed.
(Ok I am jet-lagged, so excuse me if I am wrong).
-re ".*unrecognized option.*for a complete list of options." {
untested "Skip mi tests (not compiled with mi support)."
remote_close host;
return -1;
}
-re ".*Interpreter `mi' unrecognized." {
untested "Skip mi tests (not compiled with mi support)."
remote_close host;
return -1;
}
Elena
Jim Blandy writes:
>
> 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;
>