aboutsummaryrefslogtreecommitdiff
path: root/gdb/ser-ocd.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-03-05 16:38:07 +0000
committerAndrew Cagney <cagney@redhat.com>2001-03-05 16:38:07 +0000
commit58841d58e552800c90ceb77f6c5a3a62091e23bd (patch)
tree464d50b59e9173096d210d5994afb665418ec15b /gdb/ser-ocd.c
parentc663138840a39a5c9aefc853f2b6e963ff0446bb (diff)
downloadgdb-58841d58e552800c90ceb77f6c5a3a62091e23bd.zip
gdb-58841d58e552800c90ceb77f6c5a3a62091e23bd.tar.gz
gdb-58841d58e552800c90ceb77f6c5a3a62091e23bd.tar.bz2
* ocd.h (ocd_xfer_memory): Add ``attrib'' parameter.
* ocd.c (ocd_xfer_memory): Ditto. * ser-ocd.c (ocd_setstopbits): New function. Add to ocd_ops. * MAINTAINERS: Document powerpc-eabi and powerpcle-eabi as buildable with ,-Werror. * Makefile.in (symfile_h): Define. (mcore-tdep.o): Add $(symfile_h), $(gdbcore_h) and $(inferior_h). * mcore-tdep.c: Include "symfile.h", "gdbcore.h" and "inferior.h". * MAINTAINERS: Document mcore-elf and mcore-pe as buildable with ,-Werror. * dsrec.c (make_srec): Fix internal_error fmt arg. * MAINTAINERS: Document i960-coff as buildable with ,-Werror.
Diffstat (limited to 'gdb/ser-ocd.c')
-rw-r--r--gdb/ser-ocd.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/ser-ocd.c b/gdb/ser-ocd.c
index 9ce7519..de7240f 100644
--- a/gdb/ser-ocd.c
+++ b/gdb/ser-ocd.c
@@ -134,6 +134,12 @@ ocd_setbaudrate (serial_t scb, int rate)
}
static int
+ocd_setstopbits (serial_t scb, int rate)
+{
+ return 0;
+}
+
+static int
ocd_write (serial_t scb, const char *str, int len)
{
#ifdef _WIN32
@@ -168,6 +174,7 @@ static struct serial_ops ocd_ops =
ocd_print_tty_state,
ocd_noflush_set_tty_state,
ocd_setbaudrate,
+ ocd_setstopbits,
ocd_noop, /* wait for output to drain */
};