use remote-utils facilities for baud_rate
[deliverable/binutils-gdb.git] / gdb / ser-go32.c
index 8689e24ea0a1351b4fdad5297d0c5b0d578df08f..7d0ec700300f0b15ba60c1afceba28b491764689 100644 (file)
@@ -266,6 +266,13 @@ go32_open (scb, name)
   return 0;
 }
 
+static int
+go32_noop (scb)
+     serial_t scb;
+{
+  return 0;
+}
+
 static void
 go32_raw (scb)
      serial_t scb;
@@ -310,6 +317,24 @@ go32_set_tty_state(scb, ttystate)
   return 0;
 }
 
+static int
+go32_noflush_set_tty_state (scb, new_ttystate, old_ttystate)
+     serial_t scb;
+     serial_ttystate new_ttystate;
+     serial_ttystate old_ttystate;
+{
+  return 0;
+}
+
+static void
+go32_print_tty_state (scb, ttystate)
+     serial_t scb;
+     serial_ttystate ttystate;
+{
+  /* Nothing to print.  */
+  return;
+}
+
 static int
 go32_setbaudrate (scb, rate)
      serial_t scb;
@@ -318,6 +343,15 @@ go32_setbaudrate (scb, rate)
   return 0;
 }
 
+static int
+go32_set_process_group (scb, ttystate, group)
+     serial_t scb;
+     serial_ttystate ttystate;
+     int group;
+{
+  return 0;
+}
+
 static int
 go32_write (scb, str, len)
      serial_t scb;
@@ -343,12 +377,27 @@ static struct serial_ops go32_ops =
   go32_close,
   go32_readchar,
   go32_write,
+  go32_noop, /* flush output */
+  go32_noop, /* flush input */
+  go32_noop, /* send break -- currently used only for nindy */
   go32_raw,
   go32_get_tty_state,
   go32_set_tty_state,
-  go32_setbaudrate
+  go32_print_tty_state,
+  go32_noflush_set_tty_state,
+  go32_setbaudrate,
+  go32_set_process_group
 };
 
+/* There is never job control on go32.  */
+int
+gdb_setpgid ()
+{
+  return 0;
+}
+
+int job_control = 0;
+
 _initialize_ser_go32 ()
 {
   serial_add_interface (&go32_ops);
This page took 0.023612 seconds and 4 git commands to generate.