From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kevin Buettner To: Fernando Nasser , Mark Kettenis Cc: gdb-patches@sources.redhat.com, cagney@cygnus.com Subject: Re: [PATCH, RFA]: Skip mi test when UI_OUT but mi support isn't present Date: Wed, 28 Mar 2001 12:53:00 -0000 Message-id: <1010328205333.ZM7064@ocotillo.lan> References: <200101202227.f0KMRle04985@delius.kettenis.local> <3A6AF73A.A3E2CEB@redhat.com> X-SW-Source: 2001-03/msg00528.html What ever became of the patch below? (It doesn't look like it's been checked in.) On Jan 21, 9:50am, Fernando Nasser wrote: > Subject: Re: [PATCH, RFA]: Skip mi test when UI_OUT but mi support isn't p > Mark Kettenis wrote: > > > > Ever since the switch to UI_OUT, the mi tests are no longer skipped if > > mi support wasn't compiled in. The attached patch fixes this. I left > > the pre-UI_OUT stuff in since it is still possible to compile GDB > > wuithout UI_OUT. > > > > Thank you for catching this Mark. > > Please check it in. > > Fernando > > > > > Mark > > > > 2001-01-20 Mark Kettenis > > > > * mi-support.exp (mi_gdb_start): Skip mi tests if -i flag is > > recognized (i.e. if GDB was compiled with UI_OUT, but the mi > > interpreter wasn't recognized (because it wasn't compiled in). > > > > Index: testsuite/lib/mi-support.exp > > =================================================================== > > RCS file: /cvs/src/src/gdb/testsuite/lib/mi-support.exp,v > > retrieving revision 1.3 > > diff -u -p -r1.3 mi-support.exp > > --- mi-support.exp 2000/12/20 21:24:28 1.3 > > +++ mi-support.exp 2001/01/20 22:24:58 > > @@ -135,6 +135,11 @@ proc mi_gdb_start { } { > > remote_close host; > > return -1; > > } > > + -re ".*Interpreter `mi' unrecognized." { > > + 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; > > -- > Fernando Nasser > Red Hat Canada Ltd. E-Mail: fnasser@redhat.com > 2323 Yonge Street, Suite #300 > Toronto, Ontario M4P 2C9 >-- End of excerpt from Fernando Nasser