aboutsummaryrefslogtreecommitdiff
path: root/gdb/procfs.c
diff options
context:
space:
mode:
authorPedro Alves <pedro@palves.net>2021-06-17 16:16:54 +0100
committerPedro Alves <pedro@palves.net>2021-06-17 16:22:11 +0100
commit965febe599ab3a5f9fa17a7aaed4dd714f265ecd (patch)
tree6070fefce3712338afe42d5a13504b893a64223d /gdb/procfs.c
parent96cbfd9f0488e9536bfc27550ebf90cb1ecac93b (diff)
downloadgdb-965febe599ab3a5f9fa17a7aaed4dd714f265ecd.zip
gdb-965febe599ab3a5f9fa17a7aaed4dd714f265ecd.tar.gz
gdb-965febe599ab3a5f9fa17a7aaed4dd714f265ecd.tar.bz2
Move scoped_ignore_sigttou to gdbsupport/
A following patch will want to use scoped_ignore_sigttou in code shared between GDB and GDBserver. Move it under gdbsupport/. Note that despite what inflow.h/inflow.c's first line says, inflow.c is no longer about ptrace, it is about terminal management. Some other files were unnecessarily including inflow.h, I guess a leftover from the days when inflow.c really was about ptrace. Those inclusions are simply dropped. gdb/ChangeLog: yyyy-mm-dd 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". gdbsupport/ChangeLog: yyyy-mm-dd Pedro Alves <pedro@palves.net> * scoped_ignore_sigttou.h: New file, moved from gdb/ and renamed. Change-Id: Ie390abf42c3a78bec6d282ad2a63edd3e623559a
Diffstat (limited to 'gdb/procfs.c')
-rw-r--r--gdb/procfs.c1
1 files changed, 0 insertions, 1 deletions
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"