This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
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