aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog8
-rw-r--r--gdb/Makefile.in1
-rw-r--r--gdb/inf-ptrace.c1
-rw-r--r--gdb/inflow.c2
-rw-r--r--gdb/procfs.c1
-rw-r--r--gdb/ser-unix.c2
-rw-r--r--gdbsupport/ChangeLog4
-rw-r--r--gdbsupport/scoped_ignore_sigttou.h (renamed from gdb/inflow.h)8
8 files changed, 18 insertions, 9 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 497d9f6..63d7cf5 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,13 @@
2021-06-17 Pedro Alves <pedro@palves.net>
+ * Makefile.in (HFILES_NO_SRCDIR): Remove inflow.h.
+ * inf-ptrace.c, inflow.c, procfs.c: Don't include "inflow.h".
+ * inflow.h: Delete, moved to gdbsupport/ under a different name.
+ * ser-unix.c: Don't include "inflow.h". Include
+ "gdbsupport/scoped_ignore_sigttou.h".
+
+2021-06-17 Pedro Alves <pedro@palves.net>
+
* tui/tui-io.c (tui_dispatch_mouse_event): New, factored out from
...
(tui_dispatch_ctrl_char): ... this. Move CTRL-L handling to
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index b3d264f..881ebde 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -1336,7 +1336,6 @@ HFILES_NO_SRCDIR = \
inf-ptrace.h \
infcall.h \
inferior.h \
- inflow.h \
inline-frame.h \
interps.h \
jit.h \
diff --git a/gdb/inf-ptrace.c b/gdb/inf-ptrace.c
index b6fa71f..afa38de 100644
--- a/gdb/inf-ptrace.c
+++ b/gdb/inf-ptrace.c
@@ -20,7 +20,6 @@
#include "defs.h"
#include "command.h"
#include "inferior.h"
-#include "inflow.h"
#include "terminal.h"
#include "gdbcore.h"
#include "regcache.h"
diff --git a/gdb/inflow.c b/gdb/inflow.c
index d241540..f9917d6 100644
--- a/gdb/inflow.c
+++ b/gdb/inflow.c
@@ -29,12 +29,12 @@
#include <fcntl.h>
#include "gdbsupport/gdb_select.h"
-#include "inflow.h"
#include "gdbcmd.h"
#ifdef HAVE_TERMIOS_H
#include <termios.h>
#endif
#include "gdbsupport/job-control.h"
+#include "gdbsupport/scoped_ignore_sigttou.h"
#ifdef HAVE_SYS_IOCTL_H
#include <sys/ioctl.h>
diff --git a/gdb/procfs.c b/gdb/procfs.c
index 23c0aa2..529ee33 100644
--- a/gdb/procfs.c
+++ b/gdb/procfs.c
@@ -40,7 +40,6 @@
#include <signal.h>
#include <ctype.h>
#include "gdb_bfd.h"
-#include "inflow.h"
#include "auxv.h"
#include "procfs.h"
#include "observable.h"
diff --git a/gdb/ser-unix.c b/gdb/ser-unix.c
index e97dc2f..96d024e 100644
--- a/gdb/ser-unix.c
+++ b/gdb/ser-unix.c
@@ -32,7 +32,7 @@
#include "gdbcmd.h"
#include "gdbsupport/filestuff.h"
#include <termios.h>
-#include "inflow.h"
+#include "gdbsupport/scoped_ignore_sigttou.h"
struct hardwire_ttystate
{
diff --git a/gdbsupport/ChangeLog b/gdbsupport/ChangeLog
index b790a97..ac424f3 100644
--- a/gdbsupport/ChangeLog
+++ b/gdbsupport/ChangeLog
@@ -1,3 +1,7 @@
+2021-06-17 Pedro Alves <pedro@palves.net>
+
+ * scoped_ignore_sigttou.h: New file, moved from gdb/ and renamed.
+
2021-05-17 Andrew Burgess <andrew.burgess@embecosm.com>
* .dir-locals.el: Set sentence-end-double-space for all modes, and
diff --git a/gdb/inflow.h b/gdbsupport/scoped_ignore_sigttou.h
index 8a671c7..a313164 100644
--- a/gdb/inflow.h
+++ b/gdbsupport/scoped_ignore_sigttou.h
@@ -1,4 +1,4 @@
-/* Low level interface to ptrace, for GDB when running under Unix.
+/* Support for signoring SIGTTOU.
Copyright (C) 2003-2021 Free Software Foundation, Inc.
@@ -17,8 +17,8 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#ifndef INFLOW_H
-#define INFLOW_H
+#ifndef SCOPED_IGNORE_SIGTTOU_H
+#define SCOPED_IGNORE_SIGTTOU_H
#include <unistd.h>
#include <signal.h>
@@ -53,4 +53,4 @@ private:
#endif
};
-#endif /* inflow.h */
+#endif /* SCOPED_IGNORE_SIGTTOU_H */