This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC] Testsuite: Avoid \r\r\n problem of *-*-mingw* host


On Wed, Sep 18, 2013 at 8:59 AM, Pierre Muller
<pierre.muller@ics-cnrs.unistra.fr> wrote:
>
>
>> -----Message d'origine-----
>> De : gdb-patches-owner@sourceware.org [mailto:gdb-patches-
>> owner@sourceware.org] De la part de Joel Brobecker
>> Envoyé : mercredi 18 septembre 2013 15:44
>> À : Pierre Muller
>> Cc : 'Doug Evans'; 'gdb-patches'
>> Objet : Re: [RFC] Testsuite: Avoid \r\r\n problem of *-*-mingw* host
>>
>> > > Presumably two difference pieces of software are doing the \n -> \r\n
>> > > translation.
>> >   There is also some \r-> \r\n translation appearing
>> > in normal testsuite on any system.
>>
>> I am wondering if there would be a way to disable that testsuite
>> translation in that case...
>   Maybe we could use this
> http://www.tcl.tk/man/tcl8.0/TclCmd/fconfigure.htm
>
>   But I still did not understand how it really works,
> nor did I really find to which channel I should apply
> this so that mingw host GDB's output is handled correctly.
>
>   Maybe someone else on the list knows more about this
> tcl command and how it could be used for our problem!
>
> Pierre Muller

If it is Tcl that's doing the other \n -> \r\n translation this looks promising.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]