From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15157 invoked by alias); 23 Jul 2013 19:03:20 -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 15144 invoked by uid 89); 23 Jul 2013 19:03:20 -0000 X-Spam-SWARE-Status: No, score=-4.7 required=5.0 tests=AWL,BAYES_05,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,RDNS_NONE,SPF_HELO_PASS,SPF_PASS autolearn=no version=3.3.1 Received: from Unknown (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Tue, 23 Jul 2013 19:03:20 +0000 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r6NJ39Nw012409 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 23 Jul 2013 15:03:09 -0400 Received: from barimba (ovpn-113-128.phx2.redhat.com [10.3.113.128]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r6NJ370m001810 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Tue, 23 Jul 2013 15:03:08 -0400 From: Tom Tromey To: Yao Qi Cc: Eli Zaretskii , Subject: Re: [PATCH] native mingw32 gdb, eol format References: <1373936767-14858-1-git-send-email-yao@codesourcery.com> <83ppuj2p7r.fsf@gnu.org> <51E9DBD4.4070605@codesourcery.com> Date: Tue, 23 Jul 2013 19:03:00 -0000 In-Reply-To: <51E9DBD4.4070605@codesourcery.com> (Yao Qi's message of "Sat, 20 Jul 2013 08:37:40 +0800") Message-ID: <87a9ldyu8k.fsf@fleche.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2013-07/txt/msg00541.txt.bz2 >>>>> "Yao" == Yao Qi writes: Yao> Looks fixing the testsuite to allow '\r\r\n' is a promising approach, Yao> however it is not a small piece of work. The patch below is a Yao> proof-of-concept implementation, and we need to apply the change (\r Yao> -> ${cr}) to the testsuite. Please let me know is it what you Yao> want, and then I can evaluate how much efforts are needed here. Ouch. That seems quite painful to do. I wouldn't mind it, but I wonder whether there is another way. Can we somehow use stty to set the terminal to adapt to this? Could we maybe run gdb with a wrapper program (perhaps even another instance of expect) to do the translation? I looked a little at using Tcl's fconfigure on the fd opened by expect, but that didn't seem useful in the end. Tom