[binutils-gdb] gdb/dwarf: remove unused includes from read-gdb-index.c

Simon Marchi simark@sourceware.org
Mon Jan 19 16:53:41 GMT 2026


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=4161ca907acb83ed0b5caf5d6ada713499200f12

commit 4161ca907acb83ed0b5caf5d6ada713499200f12
Author: Simon Marchi <simon.marchi@efficios.com>
Date:   Thu Jan 15 15:45:12 2026 -0500

    gdb/dwarf: remove unused includes from read-gdb-index.c
    
    There are reported as unused by clangd.
    
    Change-Id: I0e08e5d0eb5eab0fe67099c8fb1f47c827bdea3d

Diff:
---
 gdb/dwarf2/read-gdb-index.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/gdb/dwarf2/read-gdb-index.c b/gdb/dwarf2/read-gdb-index.c
index c59b2245402..0848c8393e6 100644
--- a/gdb/dwarf2/read-gdb-index.c
+++ b/gdb/dwarf2/read-gdb-index.c
@@ -20,11 +20,9 @@
 #include "read-gdb-index.h"
 
 #include "cli/cli-cmds.h"
-#include "cli/cli-style.h"
 #include "complaints.h"
 #include "dwarf2/index-common.h"
 #include "dwz.h"
-#include "event-top.h"
 #include "gdb/gdb-index.h"
 #include "gdbsupport/gdb-checked-static-cast.h"
 #include "cooked-index.h"
@@ -32,8 +30,6 @@
 #include "extract-store-integer.h"
 #include "cp-support.h"
 #include "symtab.h"
-#include "gdbsupport/selftest.h"
-#include "tag.h"
 
 /* When true, do not reject deprecated .gdb_index sections.  */
 static bool use_deprecated_index_sections = false;


More information about the Gdb-cvs mailing list