]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Change includes in cooked-index-worker.h
authorTom Tromey <tom@tromey.com>
Mon, 24 Mar 2025 21:30:07 +0000 (15:30 -0600)
committerTom Tromey <tom@tromey.com>
Tue, 1 Apr 2025 13:30:10 +0000 (07:30 -0600)
This changes cooked-index-worker.h to include the new header files.
This breaks the circular dependency that would otherwise be introduced
in the next patch.

Approved-By: Simon Marchi <simon.marchi@efficios.com>
gdb/dwarf2/cooked-index-worker.h

index ad336338fab30c2b8930223ed0f55f05cc13600b..0f2fa6cb9de91516221eff5f0dd1b3ccc93873a2 100644 (file)
 #define GDB_DWARF2_COOKED_INDEX_WORKER_H
 
 #include "dwarf2/abbrev-table-cache.h"
-#include "dwarf2/cooked-index.h"
+#include "dwarf2/cooked-index-entry.h"
+#include "dwarf2/cooked-index-shard.h"
 #include "dwarf2/types.h"
-
-struct cutu_reader;
-struct dwarf2_per_cu;
+#include "dwarf2/read.h"
 
 using cutu_reader_up = std::unique_ptr<cutu_reader>;