delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/10/24/14:25:58

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Wed, 24 Oct 2001 13:17:34 -0500
From: "William A. Gatliff" <bgat AT saturn DOT billgatliff DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: [1.3.3] breaks serial i/o?
Message-ID: <20011024131734.B20267@saturn.billgatliff.com>
Reply-To: bgat AT billgatliff DOT com
References: <20011019085618 DOT A5013 AT saturn DOT billgatliff DOT com> <20011019114712 DOT A23101 AT visi DOT com> <028e01c1594f$47cf7030$0200a8c0 AT lifelesswks> <20011020150809 DOT A3610 AT saturn DOT billgatliff DOT com> <20011020190254 DOT A27597 AT redhat DOT com> <20011020203703 DOT A4217 AT saturn DOT billgatliff DOT com> <20011020223934 DOT A28028 AT redhat DOT com> <20011021003044 DOT A29855 AT redhat DOT com> <20011021003913 DOT A29884 AT redhat DOT com> <20011023115734 DOT A22115 AT redhat DOT com>
Mime-Version: 1.0
User-Agent: Mutt/1.2.5i
In-Reply-To: <20011023115734.A22115@redhat.com>; from cgf@redhat.com on Tue, Oct 23, 2001 at 11:57:34AM -0400

Chris:

Not yet.  I got back into the office late last night.

b.g.

On Tue, Oct 23, 2001 at 11:57:34AM -0400, Christopher Faylor wrote:
> 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 AT cygnus DOT com                        Red Hat, Inc.
> http://sources.redhat.com/            http://www.redhat.com/
> 

-- 
Bill Gatliff
bgat AT billgatliff DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019