This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [1.3.3] breaks serial i/o?


Guys:


Here's some of the (apparently) relevant code in gdb's RDI support:



gdb-5.0/gdb/rdi-share/serdrv.c

static int SerialOpen(const char *name, const char *arg)
{
...
 
#ifdef COMPILING_ON_WINDOWS
    {
        int port = IsValidDevice(name);
        if (OpenSerial(port, FALSE) != COM_OK)
            return -1;
    }
#else
    if (Unix_OpenSerial(port_name) < 0)
      return -1;
#endif
...


Since I'm not a Win32 programmer, I don't really know the semantics of
the OpenSerial call.  Does anyone know how to set the flow control
strategy?


b.g.
-- 
Bill Gatliff
bgat@billgatliff.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]