From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10868 invoked by alias); 18 Sep 2013 02:11:31 -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 10859 invoked by uid 89); 18 Sep 2013 02:11:31 -0000 Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Wed, 18 Sep 2013 02:11:31 +0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.3.2 X-HELO: rock.gnat.com Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 5668911618B; Tue, 17 Sep 2013 22:11:41 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 332hjP0OJ4mC; Tue, 17 Sep 2013 22:11:41 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 242A4116144; Tue, 17 Sep 2013 22:11:41 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 9D99EE1A4E; Tue, 17 Sep 2013 19:11:25 -0700 (PDT) Date: Wed, 18 Sep 2013 02:11:00 -0000 From: Joel Brobecker To: Pierre Muller Cc: gdb-patches@sourceware.org Subject: Re: [RFC] Testsuite: Avoid \r\r\n problem of *-*-mingw* host Message-ID: <20130918021125.GL3132@adacore.com> References: <006301ceb3fb$9bad1d60$d3075820$@muller@ics-cnrs.unistra.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <006301ceb3fb$9bad1d60$d3075820$@muller@ics-cnrs.unistra.fr> User-Agent: Mutt/1.5.21 (2010-09-15) X-SW-Source: 2013-09/txt/msg00562.txt.bz2 > Here is an alternate proposal to get rid of that double \r > problem encountered when running the testsuite with mingw host GDB. > > maint set testsuite-mode on > force stdout and stderr to use binary mode. > > maint set testsuite-mode off > restores stdout and stderr "normal" text mode behavior. FWIW, I tend to think that it's better to test the debugger in an environment that is as close as possible to reality. For those reasons, I tend to favor Yao's approach. But it's not a strong opinion. -- Joel