aboutsummaryrefslogtreecommitdiff
path: root/gdb/ser-mac.c
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1995-03-07 09:03:37 +0000
committerStu Grossman <grossman@cygnus>1995-03-07 09:03:37 +0000
commit85c8b135fe413021e644dbd69a56ae7abe455f2e (patch)
treef034a40857e4f3eff1176ea6664b8967e6674051 /gdb/ser-mac.c
parent7baea9460866303161d1598eddb93a936973ef1d (diff)
downloadgdb-85c8b135fe413021e644dbd69a56ae7abe455f2e.zip
gdb-85c8b135fe413021e644dbd69a56ae7abe455f2e.tar.gz
gdb-85c8b135fe413021e644dbd69a56ae7abe455f2e.tar.bz2
* serial.h ser-go32.c ser-go32-para.c ser-mac.c ser-tcp.c
ser-unix.c: Add SERIAL_SETSTOPBITS to set the number of stopbits (needed for IDP board?!?!?).
Diffstat (limited to 'gdb/ser-mac.c')
-rw-r--r--gdb/ser-mac.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/gdb/ser-mac.c b/gdb/ser-mac.c
index 95c2481..a8db83f 100644
--- a/gdb/ser-mac.c
+++ b/gdb/ser-mac.c
@@ -246,6 +246,14 @@ mac_set_baud_rate (scb, rate)
return 0;
}
+static int
+mac_set_stop_bits (scb, num)
+ serial_t scb;
+ int num;
+{
+ return 0;
+}
+
int first_mac_write = 0;
static int
@@ -322,6 +330,7 @@ static struct serial_ops mac_ops =
mac_print_tty_state,
mac_noflush_set_tty_state,
mac_set_baud_rate,
+ mac_set_stop_bits,
};
void