| delorie.com/archives/browse.cgi | search |
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 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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |