Remove some complaints.h includes
authorTom Tromey <tom@tromey.com>
Mon, 6 Sep 2021 15:19:37 +0000 (09:19 -0600)
committerTom Tromey <tom@tromey.com>
Mon, 6 Sep 2021 15:19:37 +0000 (09:19 -0600)
There are a few includes of complaints.h that aren't necessary.  This
patch removes them.  Tested by rebuilding.

gdb/elfread.c
gdb/ia64-libunwind-tdep.c
gdb/windows-tdep.c

index 1dea226242db07a6158e163877a14ab287a0ca21..c4be482c682ae73217ea84d5931498c2e1447095 100644 (file)
@@ -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"
index f17c740fabd457cf45a0a62b29f8a6642769c0c7..27ef26aa16fd2325ce9634577dae2bbd839e2fac 100644 (file)
@@ -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.
index ca854390b7e4835fe1dfaf7f58c133b712a77012..8e8bc1c06d44a5931781e79c85f46d08df925fdf 100644 (file)
@@ -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"