Fix snafu in aarch64 opcodes debugging statement.
[deliverable/binutils-gdb.git] / gdb / terminal.h
CommitLineData
c906108c 1/* Terminal interface definitions for GDB, the GNU Debugger.
61baf725 2 Copyright (C) 1986-2017 Free Software Foundation, Inc.
c906108c 3
c5aa993b 4 This file is part of GDB.
c906108c 5
c5aa993b
JM
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
a9762ec7 8 the Free Software Foundation; either version 3 of the License, or
c5aa993b 9 (at your option) any later version.
c906108c 10
c5aa993b
JM
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
c906108c 15
c5aa993b 16 You should have received a copy of the GNU General Public License
a9762ec7 17 along with this program. If not, see <http://www.gnu.org/licenses/>. */
c906108c
SS
18
19#if !defined (TERMINAL_H)
20#define TERMINAL_H 1
21
191c4426
PA
22struct inferior;
23
24extern void new_tty_prefork (const char *);
25
a14ed312 26extern void new_tty (void);
c906108c 27
191c4426
PA
28extern void new_tty_postfork (void);
29
30extern void copy_terminal_info (struct inferior *to, struct inferior *from);
31
c906108c
SS
32/* Do we have job control? Can be assumed to always be the same within
33 a given run of GDB. In inflow.c. */
34extern int job_control;
35
a0fe373c 36extern pid_t create_tty_session (void);
83116857 37
c906108c
SS
38/* Set the process group of the caller to its own pid, or do nothing if
39 we lack job control. */
a14ed312 40extern int gdb_setpgid (void);
c906108c 41
0ea3f30e
DJ
42/* Set up a serial structure describing standard input. In inflow.c. */
43extern void initialize_stdin_serial (void);
44
3278a9f5
PP
45extern void gdb_save_tty_state (void);
46
d9de1fe3
PA
47/* Take a snapshot of our initial tty state before readline/ncurses
48 have had a chance to alter it. */
6a06d660
PP
49extern void set_initial_gdb_ttystate (void);
50
191c4426
PA
51/* Set the process group of the caller to its own pid, or do nothing
52 if we lack job control. */
53extern int gdb_setpgid (void);
54
c5aa993b 55#endif /* !defined (TERMINAL_H) */
This page took 1.815442 seconds and 4 git commands to generate.