This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC 3/6] mingw-hdep: Add "maint set testuite-mode on/off" command.
- From: Pedro Alves <palves at redhat dot com>
- To: Pierre Muller <pierre dot muller at ics-cnrs dot unistra dot fr>
- Cc: "'Tom Tromey'" <tromey at redhat dot com>, "'gdb-patches'" <gdb-patches at sourceware dot org>
- Date: Fri, 27 Sep 2013 20:36:50 +0100
- Subject: Re: [RFC 3/6] mingw-hdep: Add "maint set testuite-mode on/off" command.
- Authentication-results: sourceware.org; auth=none
- References: <002901cebaf2$35ec65a0$a1c530e0$ at muller@ics-cnrs.unistra.fr> <33207 dot 6293569573$1380225714 at news dot gmane dot org> <87pprufgl8 dot fsf at fleche dot redhat dot com> <5245c3a0 dot a3e2440a dot 4b98 dot ffffd279SMTPIN_ADDED_BROKEN at mx dot google dot com>
On 09/27/2013 06:42 PM, Pierre Muller wrote:
>> I thought Yao had a different patch to really fix the problem.
> Yao posted a while ago a first proposition where
> stdout and stderr would be set to binary at start, even if normal
> usage (i.e. outside of the testsuite environment).
>
> https://sourceware.org/ml/gdb-patches/2013-08/msg00337.html
>
> But later, he came with another (old) idea of
> allowing the testsuite to accept one or two \r before the \n.
>
> https://sourceware.org/ml/gdb-patches/2013-09/msg00497.html
>
> But, honestly, given the time I spent on it a few years ago, I doubt
> that this is an easier route...
>
> That is the reason of this proposal.
There was also a promising tcl/expect know that is supposed to
disable the unnecessary \n -> \r\n translation...
--
Pedro Alves