From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 431 invoked by alias); 23 Nov 2012 05:05:31 -0000 Received: (qmail 408 invoked by uid 22791); 23 Nov 2012 05:05:28 -0000 X-SWARE-Spam-Status: No, hits=-3.9 required=5.0 tests=AWL,BAYES_00,DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,NML_ADSP_CUSTOM_MED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-wi0-f169.google.com (HELO mail-wi0-f169.google.com) (209.85.212.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 23 Nov 2012 05:04:55 +0000 Received: by mail-wi0-f169.google.com with SMTP id hq12so1000977wib.0 for ; Thu, 22 Nov 2012 21:04:54 -0800 (PST) MIME-Version: 1.0 Received: by 10.180.100.132 with SMTP id ey4mr7641462wib.9.1353647094142; Thu, 22 Nov 2012 21:04:54 -0800 (PST) Received: by 10.216.153.132 with HTTP; Thu, 22 Nov 2012 21:04:54 -0800 (PST) In-Reply-To: <06A53F6B-CD66-470F-AF23-D98F5A528EF8@codesourcery.com> References: <6BFC66D7-25FA-466A-9F9C-51AB52C24848@codesourcery.com> <83obiyrlnr.fsf@gnu.org> <06A53F6B-CD66-470F-AF23-D98F5A528EF8@codesourcery.com> Date: Fri, 23 Nov 2012 05:05:00 -0000 Message-ID: Subject: Re: [PATCH, testsuite] Avoid testsuite harness failure on i686-mingw32 host From: Kai Tietz To: Maxim Kuvyrkov Cc: Eli Zaretskii , gdb-patches@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes 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: 2012-11/txt/msg00608.txt.bz2 2012/11/23 Maxim Kuvyrkov : > On 16/11/2012, at 9:34 PM, Eli Zaretskii wrote: > >>> From: Maxim Kuvyrkov >>> Date: Fri, 16 Nov 2012 16:50:50 +1300 >>> >>> This patch improves testing on i686-mingw32 host. One of the tests in = interrupt.exp assumes that Control-D is EOF, which is not the case for Wind= ows hosts. After the test timeouts the testsuite doesn't get GDB prompt ba= ck, which causes all subsequent tests to fail. >> >> Instead of sending Ctrl-C, isn't it better to send Ctrl-Z, which is >> the Windows equivalent of the Posix Ctrl-D? > > Hm, that's a thought. I wonder if i686-mingw32-hosted GDB will correctly= handle it. Sure, Ctrl-Z (F6) is the proper thing to use. Kai