[pushed] gdb/elfread.c: remove unused includes

Message ID 20240924152406.236334-1-simon.marchi@polymtl.ca
State New
Headers
Series [pushed] gdb/elfread.c: remove unused includes |

Checks

Context Check Description
linaro-tcwg-bot/tcwg_gdb_build--master-aarch64 warning Patch is already merged
linaro-tcwg-bot/tcwg_gdb_build--master-arm warning Patch is already merged

Commit Message

Simon Marchi Sept. 24, 2024, 3:24 p.m. UTC
  Remove some includes reported as unused by clangd.

Change-Id: If7c4729975bd90b9cc2c22bcf84d333bd0002a52
---
 gdb/elfread.c | 4 ----
 1 file changed, 4 deletions(-)


base-commit: 6896412cde41009ad2c9e7dc49640696ee963b68
  

Patch

diff --git a/gdb/elfread.c b/gdb/elfread.c
index f3fb7655ce6f..e959d3a2f9d3 100644
--- a/gdb/elfread.c
+++ b/gdb/elfread.c
@@ -29,8 +29,6 @@ 
 #include "symfile.h"
 #include "objfiles.h"
 #include "stabsread.h"
-#include "demangle.h"
-#include "filenames.h"
 #include "probe.h"
 #include "arch-utils.h"
 #include "gdbtypes.h"
@@ -39,14 +37,12 @@ 
 #include "gdbthread.h"
 #include "inferior.h"
 #include "regcache.h"
-#include "bcache.h"
 #include "gdb_bfd.h"
 #include "location.h"
 #include "auxv.h"
 #include "mdebugread.h"
 #include "ctfread.h"
 #include <string_view>
-#include "gdbsupport/scoped_fd.h"
 #include "dwarf2/public.h"
 #include "cli/cli-cmds.h"
 #include "gdb-stabs.h"