[pushed] gdb: remove unused includes in symfile.c
Simon Marchi
simon.marchi@efficios.com
Thu May 30 19:21:39 GMT 2024
From: Simon Marchi <simon.marchi@polymtl.ca>
Remove some includes reported as unused by clangd.
Change-Id: Iebd986eaf42409f1e526f09df0fcb0ce45c2fad6
---
gdb/symfile.c | 10 +---------
1 file changed, 1 insertion(+), 9 deletions(-)
diff --git a/gdb/symfile.c b/gdb/symfile.c
index 7ebb07d5394b..f7f5be5a39a5 100644
--- a/gdb/symfile.c
+++ b/gdb/symfile.c
@@ -20,10 +20,9 @@
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"
@@ -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"
base-commit: be408939b17af5ae17eb5e1fc43a0a8285ca82a1
--
2.45.1
More information about the Gdb-patches
mailing list