[PATCH 1/3] Detect GDB is in cygwin

Christopher Faylor cgf-use-the-mailinglist-please@sourceware.org
Mon Aug 5 04:41:00 GMT 2013


On Sun, Aug 04, 2013 at 04:45:07PM +0800, Yao Qi wrote:
>On 08/03/2013 12:54 PM, Christopher Faylor wrote:
>> This patch relies on low-level, unadvertised properties of the Cygwin DLL.
>> Are you sure it doesn't detect a cygwin pipe as a pty?
>
>Hi,
>I am not sure, but we never detect a cygwin pipe here.  In
>using_cygwin_pty, we only check the file name of handle of stdin, to
>see its name match the template or not.  We don't have to worry about
>it.

Why can't the handle be a pipe?  They also begin with "cygwin-".



More information about the Gdb-patches mailing list