From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16266 invoked by alias); 25 Jul 2013 07:31:48 -0000 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 Received: (qmail 16255 invoked by uid 89); 25 Jul 2013 07:31:48 -0000 X-Spam-SWARE-Status: No, score=-0.0 required=5.0 tests=AWL,BAYES_50,KHOP_THREADED,MSGID_MULTIPLE_AT,RDNS_NONE autolearn=no version=3.3.1 Received: from Unknown (HELO mailhost.u-strasbg.fr) (130.79.201.42) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Thu, 25 Jul 2013 07:31:46 +0000 Received: from md16.u-strasbg.fr (md16.u-strasbg.fr [130.79.200.206]) by mailhost.u-strasbg.fr (8.14.3/jtpda-5.5pre1) with ESMTP id r6P7VXHA072257 ; Thu, 25 Jul 2013 09:31:33 +0200 (CEST) (envelope-from pierre.muller@ics-cnrs.unistra.fr) Received: from ms16.u-strasbg.fr (ms16.u-strasbg.fr [130.79.204.116]) by md16.u-strasbg.fr (8.14.3/jtpda-5.5pre1) with ESMTP id r6P7VXRP020428 ; Thu, 25 Jul 2013 09:31:33 +0200 (envelope-from pierre.muller@ics-cnrs.unistra.fr) Received: from E6510Muller (gw-ics.u-strasbg.fr [130.79.210.225]) (Authenticated sender: mullerp) by ms16.u-strasbg.fr (Postfix) with ESMTPSA id F30AD1FD8E; Thu, 25 Jul 2013 09:31:31 +0200 (CEST) From: "Pierre Muller" To: "'Yao Qi'" , References: <1374728963-25187-1-git-send-email-yao@codesourcery.com> In-Reply-To: <1374728963-25187-1-git-send-email-yao@codesourcery.com> Subject: RE: [PATCH 0/3] Test mingw32 GDB in cygwin Date: Thu, 25 Jul 2013 07:31:00 -0000 Message-ID: <000601ce8909$02483280$06d89780$@muller@ics-cnrs.unistra.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-SW-Source: 2013-07/txt/msg00597.txt.bz2 Hi all, while I find that this patch series is really a big improvement towards getting usable results for Windows OS native GDB, I must say that I do not like at all the name of the new command line option. Indeed, I tested your previous patches on a current trunk CVS source compiled on msys system configured as i686-pc-mingw32. I am using an old dejagnu port for msys which basically suffers the problems a you describe for mingw32 GDB on a cygwin tty. =20=20 But to me it seems rather odd that we should use --cygwin-tty option on an msys terminal. Maybe --windows-so-tty would be more appropriate? Pierre Muller=20=20 > -----Message d'origine----- > De=A0: gdb-patches-owner@sourceware.org [mailto:gdb-patches- > owner@sourceware.org] De la part de Yao Qi > Envoy=E9=A0: jeudi 25 juillet 2013 07:09 > =C0=A0: gdb-patches@sourceware.org > Objet=A0: [PATCH 0/3] Test mingw32 GDB in cygwin >=20 > Hi, > This patch series try to fix the problems we've seen on running > mingw32 native for testing in cygwin tty. Patch 2/3 unbuffer the > stdout and stderr, so that dejagnu/expect can match the output in > the right order. Likewise, patch 3/3 sets stdin/stdout/stderr into > binary mode, so that dejagnu/expects can match the eol correctly > too. >=20 > Patch 2/3 and 3/3 was posted last week, >=20 > http://sourceware.org/ml/gdb-patches/2013-07/msg00481.html > http://sourceware.org/ml/gdb-patches/2013-07/msg00358.html >=20 > and one review comment is that these changes affect the behavior of > mingw32 GDB as a typical native win32 application. In order to > remove this side effect, a new option '--cyginw-tty' is added in > patch 1/3, which tells GDB that it is running in Cygwin TTY. >=20 > The whole series are tested on native mingw32 GDB running in cygwin. > Test results are improved dramatically. >=20 > *** BLURB HERE *** >=20 > Yao Qi (3): > New option --cygwin-tty. > Unbuffer stdout and stderr on windows > native mingw32 gdb, eol format >=20 > gdb/NEWS | 4 +++ > gdb/defs.h | 4 +++ > gdb/main.c | 54 > ++++++++++++++++++++++++++++++++++++++ > gdb/testsuite/gdb.base/dbx.exp | 3 +- > gdb/testsuite/lib/gdb.exp | 35 +++++++++++++++++++++++- > gdb/testsuite/lib/mi-support.exp | 3 +- > 6 files changed, 99 insertions(+), 4 deletions(-) >=20 > -- > 1.7.7.6