From: Tom Tromey Date: Wed, 7 Jan 2026 16:40:23 +0000 (-0700) Subject: Remove unused includes from xcoffread.c X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=71776465eb96145a42b5254f4ca3e4c920dd2d30;p=thirdparty%2Fbinutils-gdb.git Remove unused includes from xcoffread.c I found a number of includes in xcoffread.c that aren't needed. Approved-By: Simon Marchi --- diff --git a/gdb/xcoffread.c b/gdb/xcoffread.c index eef950e5208..2418c2b6e9e 100644 --- a/gdb/xcoffread.c +++ b/gdb/xcoffread.c @@ -21,30 +21,18 @@ #include "bfd.h" #include "event-top.h" -#include -#include -#ifdef HAVE_SYS_FILE_H -#include -#endif -#include -#include - #include "coff/internal.h" #include "libcoff.h" #include "coff/xcoff.h" -#include "libxcoff.h" #include "coff/rs6000.h" #include "xcoffread.h" #include "symtab.h" #include "gdbtypes.h" -/* FIXME: ezannoni/2004-02-13 Verify if the include below is really needed. */ #include "symfile.h" #include "objfiles.h" #include "buildsym-legacy.h" -#include "expression.h" #include "complaints.h" -#include "psymtab.h" #include "dwarf2/sect-names.h" #include "dwarf2/public.h"