* tracepoint.c (trace_start_command): Set trace_running_p.
[deliverable/binutils-gdb.git] / gdb / ser-mac.c
index ceaf35f5c3efad793441251ab7c6566c4e5fb8d8..df0040edbf20aa23d0f79c61167eba97aa18f87a 100644 (file)
@@ -60,7 +60,7 @@ mac_open (scb, name)
   /* Alloc buffer space first - that way any allocation failures are
      intercepted before the serial driver gets involved. */
   if (mac_input_buffer == NULL)
-    mac_input_buffer = (char *) xmalloc (256);
+    mac_input_buffer = (char *) xmalloc (4096);
   /* Match on a name and open a port. */
   if (strcmp (name, "modem") == 0)
     {
@@ -101,7 +101,7 @@ mac_open (scb, name)
     }
   /* We got something open. */
   if (1 /* using custom buffer */)
-    SerSetBuf (input_refnum, mac_input_buffer, 256);
+    SerSetBuf (input_refnum, mac_input_buffer, 4096);
   /* Set to a GDB-preferred state. */
   SerReset (input_refnum,  stop10|noParity|data8|baud9600);
   SerReset (output_refnum, stop10|noParity|data8|baud9600);
@@ -328,7 +328,7 @@ mac_close (serial_t scb)
   if (output_refnum)
     {
       if (0 /* custom buffer */)
-       SetSetBuf (input_refnum, mac_output_buffer, 0);
+       SerSetBuf (input_refnum, mac_output_buffer, 0);
       CloseDriver (output_refnum);
       output_refnum = 0;
     }
@@ -352,6 +352,7 @@ static struct serial_ops mac_ops =
   mac_noflush_set_tty_state,
   mac_set_baud_rate,
   mac_set_stop_bits,
+  mac_noop,                    /* wait for output to drain */
 };
 
 void
This page took 0.024926 seconds and 4 git commands to generate.