aboutsummaryrefslogtreecommitdiff
path: root/gdb/ser-base.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/ser-base.h')
-rw-r--r--gdb/ser-base.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/ser-base.h b/gdb/ser-base.h
index 5467fc8..8604629 100644
--- a/gdb/ser-base.h
+++ b/gdb/ser-base.h
@@ -25,6 +25,9 @@
struct serial;
struct ui_file;
+extern int generic_readchar (struct serial *scb, int timeout,
+ int (*do_readchar) (struct serial *scb,
+ int timeout));
extern void reschedule (struct serial *scb);
extern int ser_base_flush_output (struct serial *scb);
extern int ser_base_flush_input (struct serial *scb);
@@ -46,5 +49,6 @@ extern int ser_base_drain_output (struct serial *scb);
extern int ser_base_write (struct serial *scb, const char *str, int len);
extern void ser_base_async (struct serial *scb, int async_p);
+extern int ser_base_readchar (struct serial *scb, int timeout);
#endif