/* Low level interface to ptrace, for GDB when running under Unix.
- Copyright (C) 1986-2019 Free Software Foundation, Inc.
+ Copyright (C) 1986-2020 Free Software Foundation, Inc.
This file is part of GDB.
#ifdef HAVE_TERMIOS_H
#include <termios.h>
#endif
-#include "common/job-control.h"
+#include "gdbsupport/job-control.h"
#ifdef HAVE_SYS_IOCTL_H
#include <sys/ioctl.h>
terminal_info () = default;
~terminal_info ();
+ terminal_info &operator= (const terminal_info &) = default;
+
/* The name of the tty (from the `tty' command) that we gave to the
inferior when it was started. */
char *run_terminal = nullptr;
std::swap (a->terminal_state, b->terminal_state);
}
-void
+static void
info_terminal_command (const char *arg, int from_tty)
{
target_terminal::info (arg, from_tty);