set the other three terminal state pieces for systems that HAVE_SGTTY
authorK. Richard Pixley <rich@cygnus>
Tue, 7 Dec 1993 00:41:42 +0000 (00:41 +0000)
committerK. Richard Pixley <rich@cygnus>
Tue, 7 Dec 1993 00:41:42 +0000 (00:41 +0000)
gdb/ChangeLog
gdb/ser-unix.c

index ba61504a77b04a5141f5fc8ee1a0a1d8d1dd75d0..3748fd92ce3bbb1fe844d3f99aa0124b50867316 100644 (file)
@@ -1,3 +1,8 @@
+Mon Dec  6 16:34:10 1993  K. Richard Pixley  (rich@cygnus.com)
+
+       * ser-unix.c (set_tty_state): set the rest of the terminal state
+         pieces.
+
 Mon Dec  6 12:01:37 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
 
        * configure.in: Recognize mips* for all mips targets.
index c77789514d912e2e75bb78a90e48b490488712fe..63207ddf143ec25fd1ba26b3437cf16a9a73b423 100644 (file)
@@ -150,6 +150,12 @@ set_tty_state(scb, state)
 #ifdef HAVE_SGTTY
   if (ioctl (scb->fd, TIOCSETN, &state->sgttyb) < 0)
     return -1;
+  if (ioctl (scb->fd, TIOCSETC, &state->tc) < 0)
+    return -1;
+  if (ioctl (scb->fd, TIOCSLTC, &state->ltc) < 0)
+    return -1;
+  if (ioctl (scb->fd, TIOCLSET, &state->lmode) < 0)
+    return -1;
 
   return 0;
 #endif