* target.h: Add enum target_waitkind, enum target_signal, and
[deliverable/binutils-gdb.git] / gdb / ser-unix.c
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
This page took 0.023853 seconds and 4 git commands to generate.