X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Fterminal.h;h=8ae8fd8cde7104a38869b932e51af0f1b401e0c2;hb=8380882108b7c11864212eab15eeb5d4c9a3b138;hp=7774eefcd46ef755e41d7b5cccbaa89c4d987008;hpb=e2882c85786571175a0b0bfc3bcd2f14620b1ea3;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/terminal.h b/gdb/terminal.h index 7774eefcd4..8ae8fd8cde 100644 --- a/gdb/terminal.h +++ b/gdb/terminal.h @@ -1,5 +1,5 @@ /* Terminal interface definitions for GDB, the GNU Debugger. - Copyright (C) 1986-2018 Free Software Foundation, Inc. + Copyright (C) 1986-2020 Free Software Foundation, Inc. This file is part of GDB. @@ -29,6 +29,9 @@ extern void new_tty_postfork (void); extern void copy_terminal_info (struct inferior *to, struct inferior *from); +/* Exchange the terminal info and state between inferiors A and B. */ +extern void swap_terminal_info (inferior *a, inferior *b); + extern pid_t create_tty_session (void); /* Set up a serial structure describing standard input. In inflow.c. */