From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13159 invoked by alias); 23 Nov 2012 04:33:17 -0000 Received: (qmail 13148 invoked by uid 22791); 23 Nov 2012 04:33:15 -0000 X-SWARE-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL X-Spam-Check-By: sourceware.org Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 23 Nov 2012 04:32:44 +0000 Received: from svr-orw-fem-01.mgc.mentorg.com ([147.34.98.93]) by relay1.mentorg.com with esmtp id 1TbkwV-00027k-2T from Maxim_Kuvyrkov@mentor.com ; Thu, 22 Nov 2012 20:32:43 -0800 Received: from SVR-IES-FEM-01.mgc.mentorg.com ([137.202.0.104]) by svr-orw-fem-01.mgc.mentorg.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Thu, 22 Nov 2012 20:32:42 -0800 Received: from [127.0.0.1] (137.202.0.76) by SVR-IES-FEM-01.mgc.mentorg.com (137.202.0.104) with Microsoft SMTP Server id 14.1.289.1; Fri, 23 Nov 2012 04:32:40 +0000 Subject: Re: [PATCH, testsuite] Avoid testsuite harness failure on i686-mingw32 host MIME-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset="us-ascii" From: Maxim Kuvyrkov In-Reply-To: <83obiyrlnr.fsf@gnu.org> Date: Fri, 23 Nov 2012 04:33:00 -0000 CC: Content-Transfer-Encoding: quoted-printable Message-ID: <06A53F6B-CD66-470F-AF23-D98F5A528EF8@codesourcery.com> References: <6BFC66D7-25FA-466A-9F9C-51AB52C24848@codesourcery.com> <83obiyrlnr.fsf@gnu.org> To: Eli Zaretskii 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/msg00607.txt.bz2 On 16/11/2012, at 9:34 PM, Eli Zaretskii wrote: >> From: Maxim Kuvyrkov >> Date: Fri, 16 Nov 2012 16:50:50 +1300 >>=20 >> This patch improves testing on i686-mingw32 host. One of the tests in i= nterrupt.exp assumes that Control-D is EOF, which is not the case for Windo= ws hosts. After the test timeouts the testsuite doesn't get GDB prompt bac= k, which causes all subsequent tests to fail. >=20 > 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 h= andle it. -- Maxim Kuvyrkov CodeSourcery / Mentor Graphics