aboutsummaryrefslogtreecommitdiff
path: root/gdb/serial.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/serial.h')
-rw-r--r--gdb/serial.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/gdb/serial.h b/gdb/serial.h
index ca4639c..f1963d0 100644
--- a/gdb/serial.h
+++ b/gdb/serial.h
@@ -97,8 +97,9 @@ serial_t serial_fdopen PARAMS ((const int fd));
/* Send a break between 0.25 and 0.5 seconds long. */
-#define SERIAL_SEND_BREAK(SERIAL_T) \
- ((*(SERIAL_T)->ops->send_break) (SERIAL_T))
+extern int serial_send_break PARAMS ((serial_t scb));
+
+#define SERIAL_SEND_BREAK(SERIAL_T) serial_send_break (SERIAL_T)
/* Turn the port into raw mode. */
@@ -176,9 +177,6 @@ extern void serial_printf PARAMS ((serial_t desc, const char *, ...))
/* File in which to record the remote debugging session */
-extern char *serial_logfile;
-extern FILE *serial_logfp;
-
extern void serial_log_command PARAMS ((const char *));
#endif /* SERIAL_H */