From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16045 invoked by alias); 25 Jul 2013 05:10:18 -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 16016 invoked by uid 89); 25 Jul 2013 05:10:17 -0000 X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_50,FROM_12LTRDOM,KHOP_RCVD_UNTRUST,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,RDNS_NONE autolearn=no version=3.3.1 Received: from Unknown (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Thu, 25 Jul 2013 05:10:16 +0000 Received: from svr-orw-exc-10.mgc.mentorg.com ([147.34.98.58]) by relay1.mentorg.com with esmtp id 1V2DoX-00037u-0q from Yao_Qi@mentor.com for gdb-patches@sourceware.org; Wed, 24 Jul 2013 22:10:09 -0700 Received: from SVR-ORW-FEM-02.mgc.mentorg.com ([147.34.96.206]) by SVR-ORW-EXC-10.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.4675); Wed, 24 Jul 2013 22:10:09 -0700 Received: from qiyao.dyndns.org.dyndns.org (147.34.91.1) by svr-orw-fem-02.mgc.mentorg.com (147.34.96.168) with Microsoft SMTP Server id 14.2.247.3; Wed, 24 Jul 2013 22:10:08 -0700 From: Yao Qi To: Subject: [PATCH 0/3] Test mingw32 GDB in cygwin Date: Thu, 25 Jul 2013 05:10:00 -0000 Message-ID: <1374728963-25187-1-git-send-email-yao@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2013-07/txt/msg00590.txt.bz2 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. Patch 2/3 and 3/3 was posted last week, http://sourceware.org/ml/gdb-patches/2013-07/msg00481.html http://sourceware.org/ml/gdb-patches/2013-07/msg00358.html 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. The whole series are tested on native mingw32 GDB running in cygwin. Test results are improved dramatically. *** BLURB HERE *** Yao Qi (3): New option --cygwin-tty. Unbuffer stdout and stderr on windows native mingw32 gdb, eol format 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(-) -- 1.7.7.6