summaryrefslogtreecommitdiff
path: root/gdb/ser-e7kpc.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2000-12-02 11:37:15 +0000
committerAndrew Cagney <cagney@redhat.com>2000-12-02 11:37:15 +0000
commit5cb231d6740a15727ca643ec1438bb175c833daf (patch)
tree65563b9d56db4ca4c68bd7f178c2a9054781c54d /gdb/ser-e7kpc.c
parentb22c5394005f626023d597818f3d83986b64e874 (diff)
downloadgdb-5cb231d6740a15727ca643ec1438bb175c833daf.tar.gz
* ser-e7kpc.c (e7000pc_setstopbits): New function.
(e7000pc_ops): Add e7000pc_setstopbits. * remote-e7000.c (e7000_detach, e7000_resume, e7000_xfer_inferior_memory, e7000_files_info, e7000_files_info, e7000_insert_breakpoint, e7000_remove_breakpoint, e7000_kill): Update function signature to match target vector. * h8300-tdep.c (h8300_command, h8300h_command, h8300s_command): h8500-tdep.c (small_command, big_command, medium_command, compact_command): Update function signature to match add_cmd.
Diffstat (limited to 'gdb/ser-e7kpc.c')
-rw-r--r--gdb/ser-e7kpc.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/ser-e7kpc.c b/gdb/ser-e7kpc.c
index 726339dd252..9defa6e14e0 100644
--- a/gdb/ser-e7kpc.c
+++ b/gdb/ser-e7kpc.c
@@ -416,6 +416,12 @@ e7000pc_setbaudrate (serial_t scb, int rate)
}
static int
+e7000pc_setstopbits (serial_t scb, int rate)
+{
+ return 0;
+}
+
+static int
e7000pc_write (serial_t scb, const char *str, int len)
{
dosasync_write (scb->fd, str, len);
@@ -445,6 +451,7 @@ static struct serial_ops e7000pc_ops =
e7000pc_print_tty_state,
e7000pc_noflush_set_tty_state,
e7000pc_setbaudrate,
+ e7000pc_setstopbits,
e7000pc_noop, /* wait for output to drain */
};