aboutsummaryrefslogtreecommitdiff
path: root/gdb/ser-base.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/ser-base.c')
-rw-r--r--gdb/ser-base.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/ser-base.c b/gdb/ser-base.c
index 8f014d0..368afa6 100644
--- a/gdb/ser-base.c
+++ b/gdb/ser-base.c
@@ -463,6 +463,13 @@ ser_base_get_tty_state (struct serial *scb)
return (serial_ttystate) XMALLOC (int);
}
+serial_ttystate
+ser_base_copy_tty_state (struct serial *scb, serial_ttystate ttystate)
+{
+ /* Allocate another dummy. */
+ return (serial_ttystate) XMALLOC (int);
+}
+
int
ser_base_set_tty_state (struct serial *scb, serial_ttystate ttystate)
{