From: Simon Marchi Date: Tue, 23 Apr 2024 02:34:13 +0000 (-0400) Subject: gdb: remove unused includes in symfile.c X-Git-Tag: binutils-2_43~580 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8330f26f31be15ab5ba645dba5b31f8dec56d566;p=thirdparty%2Fbinutils-gdb.git gdb: remove unused includes in symfile.c Remove some includes reported as unused by clangd. Change-Id: Iebd986eaf42409f1e526f09df0fcb0ce45c2fad6 --- diff --git a/gdb/symfile.c b/gdb/symfile.c index 7ebb07d5394..f7f5be5a39a 100644 --- a/gdb/symfile.c +++ b/gdb/symfile.c @@ -20,10 +20,9 @@ along with this program. If not, see . */ #include "arch-utils.h" -#include "bfdlink.h" +#include "cli/cli-cmds.h" #include "extract-store-integer.h" #include "symtab.h" -#include "gdbtypes.h" #include "gdbcore.h" #include "frame.h" #include "target.h" @@ -31,27 +30,20 @@ #include "symfile.h" #include "objfiles.h" #include "source.h" -#include "cli/cli-cmds.h" #include "breakpoint.h" #include "language.h" #include "complaints.h" -#include "demangle.h" #include "inferior.h" #include "regcache.h" #include "filenames.h" #include "gdbsupport/gdb_obstack.h" #include "completer.h" -#include "bcache.h" -#include "hashtab.h" #include "readline/tilde.h" #include "block.h" #include "observable.h" #include "exec.h" -#include "parser-defs.h" #include "varobj.h" -#include "elf-bfd.h" #include "solib.h" -#include "remote.h" #include "stack.h" #include "gdb_bfd.h" #include "cli/cli-utils.h"