This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
RE: [RFC] Testsuite: Avoid \r\r\n problem of *-*-mingw* host
- From: "Pierre Muller" <pierre dot muller at ics-cnrs dot unistra dot fr>
- To: "'Joel Brobecker'" <brobecker at adacore dot com>
- Cc: "'Doug Evans'" <dje at google dot com>, "'gdb-patches'" <gdb-patches at sourceware dot org>
- Date: Wed, 18 Sep 2013 17:59:28 +0200
- Subject: RE: [RFC] Testsuite: Avoid \r\r\n problem of *-*-mingw* host
- Authentication-results: sourceware.org; auth=none
- References: <20130918021125 dot GL3132 at adacore dot com> <CADPb22S9V2UM-2FA=0QPhe1bp38HxSuXU4xFy83DgDPWfsmQpQ at mail dot gmail dot com> <001501ceb441$51732e60$f4598b20$ at muller@ics-cnrs.unistra.fr> <20130918134359 dot GM3132 at adacore dot com>
> -----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