aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2024-05-16 15:54:37 -0400
committerSimon Marchi <simon.marchi@polymtl.ca>2024-05-16 15:54:37 -0400
commitf617661c1105c1fc95c19c4ea129fdd2318095e7 (patch)
treeb819beffa8c281dc49e976bf3a296aee84b56820 /gdb
parent3396d197b7c27ce1ffae7b77a3b87da8b9a99942 (diff)
downloadgdb-f617661c1105c1fc95c19c4ea129fdd2318095e7.zip
gdb-f617661c1105c1fc95c19c4ea129fdd2318095e7.tar.gz
gdb-f617661c1105c1fc95c19c4ea129fdd2318095e7.tar.bz2
gdb: remove unused includes in objfiles.{c,h}
Remove some includes reported as unused by clangd. Change-Id: I7768232c28b9b86b0a03628a1d15dede2b30c76a
Diffstat (limited to 'gdb')
-rw-r--r--gdb/objfiles.c3
-rw-r--r--gdb/objfiles.h6
2 files changed, 0 insertions, 9 deletions
diff --git a/gdb/objfiles.c b/gdb/objfiles.c
index ba88ed1..e6b0ca7 100644
--- a/gdb/objfiles.c
+++ b/gdb/objfiles.c
@@ -27,7 +27,6 @@
#include "symfile.h"
#include "objfiles.h"
#include "target.h"
-#include "bcache.h"
#include "expression.h"
#include "parser-defs.h"
@@ -46,13 +45,11 @@
#include "exec.h"
#include "observable.h"
#include "complaints.h"
-#include "solist.h"
#include "gdb_bfd.h"
#include "btrace.h"
#include "gdbsupport/pathstuff.h"
#include <algorithm>
-#include <vector>
/* Externally visible variables that are owned by this module.
See declarations in objfile.h for more info. */
diff --git a/gdb/objfiles.h b/gdb/objfiles.h
index 8b8b718..dc1b8f7 100644
--- a/gdb/objfiles.h
+++ b/gdb/objfiles.h
@@ -20,21 +20,15 @@
#if !defined (OBJFILES_H)
#define OBJFILES_H
-#include "hashtab.h"
#include "gdbsupport/gdb_obstack.h"
#include "objfile-flags.h"
#include "symfile.h"
#include "progspace.h"
#include "registry.h"
#include "gdb_bfd.h"
-#include <atomic>
#include <bitset>
-#include <vector>
-#include "gdbsupport/next-iterator.h"
-#include "gdbsupport/safe-iterator.h"
#include "bcache.h"
#include "gdbarch.h"
-#include "gdbsupport/refcounted-object.h"
#include "jit.h"
#include "quick-symbol.h"
#include <forward_list>