Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Date: Tue, 23 Oct 2001 11:57:34 -0400
From: Christopher Faylor <cgf@redhat.com>
To: cygwin@cygwin.com
Cc: bgat@billgatliff.com
Subject: Re: [1.3.3] breaks serial i/o?
Message-ID: <20011023115734.A22115@redhat.com>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com, bgat@billgatliff.com
References: <20011018222406.C11830@redhat.com> <20011019085618.A5013@saturn.billgatliff.com> <20011019114712.A23101@visi.com> <028e01c1594f$47cf7030$0200a8c0@lifelesswks> <20011020150809.A3610@saturn.billgatliff.com> <20011020190254.A27597@redhat.com> <20011020203703.A4217@saturn.billgatliff.com> <20011020223934.A28028@redhat.com> <20011021003044.A29855@redhat.com> <20011021003913.A29884@redhat.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20011021003913.A29884@redhat.com>
User-Agent: Mutt/1.3.21i

Any updates on this?

cgf

On Sun, Oct 21, 2001 at 12:39:13AM -0400, Christopher Faylor wrote:
>On Sun, Oct 21, 2001 at 12:30:44AM -0400, Christopher Faylor wrote:
>>On Sat, Oct 20, 2001 at 10:39:34PM -0400, Christopher Faylor wrote:
>>>However, before we reach this drastic step, I'd *really* suggest at
>>>least trying the 5.1 branch of gdb.  Your errors sound very similar
>>>to others that were reported with ARM.  It is very possible that
>>>they were fixed subsequent to 5.0.
>>
>>I have just spelunked through the cvs logs in the rdi-share directory
>>and it looks like most relevant changes to gdb for arm/rdi did make
>>it into gdb 5.0 so this probably is not going to hold out much promise.
>>
>>>From looking at gdb's code it seems like select is returning a TRUE
>>for something to select on the serial line but when it is time to
>>read something, apparently nothing is available.
>>
>>I guess I really will have to make a cable and connect my linux and
>>windows systems to test this...
>
>One suggestion for the gdb code -- add an '| O_BINARY' to all of the
>opens of the serial line in unixcomm.c.  I can see a pathological
>condition in cygwin where a VMIN setting will not be properly honored if
>there is a readahead condition due to a '\n' -> '\r\n' conversion.
>
>This could cause the code to block but even if it wasn't blocking, I
>assume that you probably don't want to do newline conversions.
>
>This probably isn't going to fix the problem since the default is for
>cygwin to not do this kind of conversion on devices but it's best to be
>safe anyway.
>
>cgf
>
>--
>Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>Bug reporting:         http://cygwin.com/bugs.html
>Documentation:         http://cygwin.com/docs.html
>FAQ:                   http://cygwin.com/faq/

-- 
cgf@cygnus.com                        Red Hat, Inc.
http://sources.redhat.com/            http://www.redhat.com/

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

