This is the merge of the Itcl3.0 gdbtk development branch into the

trunk.  To build it, you will have to do update -dP in the itcl
directory, and update tcl, tk, tix and libgui as well.
This commit is contained in:
Jim Ingham
1999-01-28 03:50:17 +00:00
parent 988e60c43b
commit c98fe0c119
33 changed files with 5608 additions and 553 deletions

View File

@@ -97,7 +97,7 @@
#define SERIAL_PREFIX "/dev/tty"
#if defined(_WIN32) || defined (__CYGWIN__)
#if defined(_WIN32) || defined (__CYGWIN32__)
#define SERPORT1 "com1"
#define SERPORT2 "com2"
#define PARPORT1 "lpt1"
@@ -241,7 +241,7 @@ extern int Unix_IsSerialInUse(void)
extern int Unix_OpenSerial(const char *name)
{
#if defined(BSD) || defined(__CYGWIN__)
#if defined(BSD) || defined(__CYGWIN32__)
serpfd = open(name, O_RDWR);
#else
serpfd = open(name, O_RDWR | O_NONBLOCK);
@@ -305,7 +305,7 @@ extern void Unix_ResetSerial(void)
struct termios terminfo;
tcgetattr(serpfd, &terminfo);
#ifdef __CYGWIN__
#ifdef __CYGWIN32__
/* Expedient, but it works. */
terminfo.c_iflag = 0;
terminfo.c_oflag = 0;