* breakpoint.c, breakpoint.h (breakpoint_init_inferior): New function
[deliverable/binutils-gdb.git] / gdb / ser-tcp.c
index 6ff79aa3d4a670dc67b539e3be046ea3bad646c4..6688628bdad200be91352130f255d75fe5bd06de 100644 (file)
@@ -39,7 +39,7 @@ static int wait_for PARAMS ((serial_t scb, int timeout));
 static int tcp_readchar PARAMS ((serial_t scb, int timeout));
 static int tcp_setbaudrate PARAMS ((serial_t scb, int rate));
 static int tcp_write PARAMS ((serial_t scb, const char *str, int len));
-static void tcp_restore PARAMS ((serial_t scb));
+/* FIXME: static void tcp_restore PARAMS ((serial_t scb)); */
 static void tcp_close PARAMS ((serial_t scb));
 static serial_ttystate tcp_get_tty_state PARAMS ((serial_t scb));
 static int tcp_set_tty_state PARAMS ((serial_t scb, serial_ttystate state));
@@ -141,11 +141,9 @@ tcp_set_tty_state(scb, ttystate)
 }
 
 static int
-tcp_flush_output (scb)
+tcp_return_0 (scb)
      serial_t scb;
 {
-  /* This is only used by utils.c on stdout, so it doesn't need to work
-     for tcp.  */
   return 0;
 }
 
@@ -309,7 +307,9 @@ static struct serial_ops tcp_ops =
   tcp_close,
   tcp_readchar,
   tcp_write,
-  tcp_flush_output,
+  tcp_return_0, /* flush output */
+  tcp_return_0, /* flush input */
+  tcp_return_0, /* send break */
   tcp_raw,
   tcp_get_tty_state,
   tcp_set_tty_state,
This page took 0.023287 seconds and 4 git commands to generate.