/* Terminal interface definitions for GDB, the GNU Debugger.
- Copyright (C) 1986, 1989-1993, 1995-1996, 1999-2000, 2006-2012 Free
- Software Foundation, Inc.
+ Copyright (C) 1986-2016 Free Software Foundation, Inc.
This file is part of GDB.
/* Set up a serial structure describing standard input. In inflow.c. */
extern void initialize_stdin_serial (void);
-extern int gdb_has_a_terminal (void);
+extern void gdb_save_tty_state (void);
+
+/* Take a snapshot of our initial tty state before readline/ncurses
+ have had a chance to alter it. */
+extern void set_initial_gdb_ttystate (void);
/* Set the process group of the caller to its own pid, or do nothing
if we lack job control. */