X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Fterminal.h;h=0deced4535a98a713f075f867f8ff273078036ad;hb=cd2ddb6cde55a20d191e1002dbe1977df695cda9;hp=0e32ea9e1e74dbbc75fab48b9232b04d5f9d7869;hpb=28e7fd62340426746f9c896cbc40c5d374ec47aa;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/terminal.h b/gdb/terminal.h index 0e32ea9e1e..0deced4535 100644 --- a/gdb/terminal.h +++ b/gdb/terminal.h @@ -1,5 +1,5 @@ /* Terminal interface definitions for GDB, the GNU Debugger. - Copyright (C) 1986-2013 Free Software Foundation, Inc. + Copyright (C) 1986-2016 Free Software Foundation, Inc. This file is part of GDB. @@ -99,7 +99,11 @@ extern int gdb_setpgid (void); /* 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. */