diff options
author | Andrew Cagney <cagney@redhat.com> | 2000-12-02 11:37:15 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2000-12-02 11:37:15 +0000 |
commit | 55d801603665d5b9b410578cd64f29469dc86e7e (patch) | |
tree | 13cedd36ecb99ac47653698cdd19567141e1bc8d /gdb/ser-e7kpc.c | |
parent | c6c98b3833d01c45200708006011e5cecd461fac (diff) | |
download | gdb-55d801603665d5b9b410578cd64f29469dc86e7e.zip gdb-55d801603665d5b9b410578cd64f29469dc86e7e.tar.gz gdb-55d801603665d5b9b410578cd64f29469dc86e7e.tar.bz2 |
* 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.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/ser-e7kpc.c b/gdb/ser-e7kpc.c index 726339d..9defa6e 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 */ }; |