]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
gdb: remove unused includes in symfile.c
authorSimon Marchi <simon.marchi@polymtl.ca>
Tue, 23 Apr 2024 02:34:13 +0000 (22:34 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Thu, 30 May 2024 19:20:25 +0000 (15:20 -0400)
Remove some includes reported as unused by clangd.

Change-Id: Iebd986eaf42409f1e526f09df0fcb0ce45c2fad6

gdb/symfile.c

index 7ebb07d5394b669d610de5917ecbd9fab51f165b..f7f5be5a39a580a402dca675a8df06fbbc80997b 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #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"
 #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"