From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2019 invoked by alias); 16 Jun 2009 23:29:14 -0000 Received: (qmail 2011 invoked by uid 22791); 16 Jun 2009 23:29:13 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_43 X-Spam-Check-By: sourceware.org Received: from mailhost.u-strasbg.fr (HELO mailhost.u-strasbg.fr) (130.79.200.152) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 16 Jun 2009 23:29:08 +0000 Received: from baal.u-strasbg.fr (baal.u-strasbg.fr [IPv6:2001:660:2402::41]) by mailhost.u-strasbg.fr (8.14.2/jtpda-5.5pre1) with ESMTP id n5GNRN1H039041 ; Wed, 17 Jun 2009 01:27:23 +0200 (CEST) Received: from mailserver.u-strasbg.fr (ms3.u-strasbg.fr [IPv6:2001:660:2402:d::12]) by baal.u-strasbg.fr (8.14.0/jtpda-5.5pre1) with ESMTP id n5GNRNqu072143 ; Wed, 17 Jun 2009 01:27:23 +0200 (CEST) (envelope-from muller@ics.u-strasbg.fr) Received: from d620muller (lec67-4-82-230-53-140.fbx.proxad.net [82.230.53.140]) (user=mullerp mech=LOGIN) by mailserver.u-strasbg.fr (8.14.3/jtpda-5.5pre1) with ESMTP id n5GNRM4X027580 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) ; Wed, 17 Jun 2009 01:27:22 +0200 (CEST) (envelope-from muller@ics.u-strasbg.fr) From: "Pierre Muller" To: "'Joel Brobecker'" Cc: , "'Daniel Jacobowitz'" References: <001201c9ebb1$96414b10$c2c3e130$@u-strasbg.fr> <20090613150505.GA28157@caradoc.them.org> <000001c9ec65$9bf13ca0$d3d3b5e0$@u-strasbg.fr> <20090613235454.GA1893@caradoc.them.org> <20090614002516.GO25703@adacore.com> <000001c9ed8a$21cfdc30$656f9490$@u-strasbg.fr> <20090616145756.GB7730@adacore.com> In-Reply-To: <20090616145756.GB7730@adacore.com> Subject: RE: [RFC] Improve testsuite for poor expect behavior Date: Tue, 16 Jun 2009 23:29:00 -0000 Message-ID: <000c01c9eeda$022d8a70$06889f50$@u-strasbg.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2009-06/txt/msg00419.txt.bz2 Thanks, this is indeed very helpful for mingw32 or djgpp target. I simply added a line set GDBFLAGS { -ex "set interactive on"} at the end of site.exp in gdb/testsuite directory Nevertheless, it only addresses part of the purpose of my patch. The problem of the extra '\r' generated by=20 text mode output is still not solved. I will try to resubmit a much shorter patch that just handles this without trying to modify the executables. Pierre > -----Message d'origine----- > De=A0: gdb-patches-owner@sourceware.org [mailto:gdb-patches- > owner@sourceware.org] De la part de Joel Brobecker > Envoy=E9=A0: Tuesday, June 16, 2009 4:58 PM > =C0=A0: Pierre Muller > Cc=A0: gdb-patches@sourceware.org; 'Daniel Jacobowitz' > Objet=A0: Re: [RFC] Improve testsuite for poor expect behavior >=20 > > > Yeah - we use that in two situations, one of them being our > testsuite. > > > I can resend if it helps. > > > > Yes, please. This would be very helpful to check if my solution > > brings something more or if yours should be used. >=20 > Here it is. I've extracted it from our tree, and the patch itself is > pretty raw - needs testing and documentation, but it should allow you > to see whether that helps or not in your case. I'll finish up the patch > as soon as you confirm it's helping. >=20 > -- > Joel