Re: [PATCH 1/3] Detect GDB is in cygwin

Eli Zaretskii
2013-08-15T19:14:53Z

> From: Tom Tromey <tromey@redhat.com>
> Cc: Yao Qi <yao@codesourcery.com>
> Date: Thu, 15 Aug 2013 12:58:05 -0600
>
> The idea is something like, for Windows hosts, put stdout and stderr
> into "binary" mode. Then, have those two functions implement line
> buffering internally (again just for Windows hosts). Finally, have them
> also transform \n -> \r\n on output.
>
> Would this work?

How does this solve Yao's problem? I thought the problem was that
\r\n got converted into \r\r\n by something outside of GDB, no?