aboutsummaryrefslogtreecommitdiff
path: root/gdb/serial.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/serial.h')
-rw-r--r--gdb/serial.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/serial.h b/gdb/serial.h
index 5363929..6a1f2e2 100644
--- a/gdb/serial.h
+++ b/gdb/serial.h
@@ -75,3 +75,7 @@ int serial_write PARAMS ((const char *str, int len));
/* Close the serial port */
void serial_close PARAMS ((void));
+
+/* Restore the serial port to the state saved in oldstate */
+
+void serial_restore PARAMS ((int desc, struct ttystate oldstate));