aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2021-09-06 09:19:37 -0600
committerTom Tromey <tom@tromey.com>2021-09-06 09:19:37 -0600
commitd9a2066df4a7a4d09b4db3d3ae5da40d3098d99f (patch)
tree058bd777043c0ffb35c3d2d1590b78735a195643
parent804439b4d7a83d4db8adcb816d8ee8e04a06b33c (diff)
downloadgdb-d9a2066df4a7a4d09b4db3d3ae5da40d3098d99f.zip
gdb-d9a2066df4a7a4d09b4db3d3ae5da40d3098d99f.tar.gz
gdb-d9a2066df4a7a4d09b4db3d3ae5da40d3098d99f.tar.bz2
Remove some complaints.h includes
There are a few includes of complaints.h that aren't necessary. This patch removes them. Tested by rebuilding.
-rw-r--r--gdb/elfread.c1
-rw-r--r--gdb/ia64-libunwind-tdep.c1
-rw-r--r--gdb/windows-tdep.c1
3 files changed, 0 insertions, 3 deletions
diff --git a/gdb/elfread.c b/gdb/elfread.c
index 1dea226..c4be482 100644
--- a/gdb/elfread.c
+++ b/gdb/elfread.c
@@ -29,7 +29,6 @@
#include "symfile.h"
#include "objfiles.h"
#include "stabsread.h"
-#include "complaints.h"
#include "demangle.h"
#include "psympriv.h"
#include "filenames.h"
diff --git a/gdb/ia64-libunwind-tdep.c b/gdb/ia64-libunwind-tdep.c
index f17c740..27ef26a 100644
--- a/gdb/ia64-libunwind-tdep.c
+++ b/gdb/ia64-libunwind-tdep.c
@@ -35,7 +35,6 @@
#include "ia64-libunwind-tdep.h"
-#include "complaints.h"
#include "gdbsupport/preprocessor.h"
/* IA-64 is the only target that currently uses ia64-libunwind-tdep.
diff --git a/gdb/windows-tdep.c b/gdb/windows-tdep.c
index ca85439..8e8bc1c 100644
--- a/gdb/windows-tdep.c
+++ b/gdb/windows-tdep.c
@@ -30,7 +30,6 @@
#include "symfile.h"
#include "coff-pe-read.h"
#include "gdb_bfd.h"
-#include "complaints.h"
#include "solib.h"
#include "solib-target.h"
#include "gdbcore.h"