From: Tom Tromey Date: Mon, 24 Mar 2025 21:30:07 +0000 (-0600) Subject: Change includes in cooked-index-worker.h X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5703a5019ca9cbd5e389f1915c00adc0c9dcafed;p=thirdparty%2Fbinutils-gdb.git Change includes in cooked-index-worker.h 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 --- diff --git a/gdb/dwarf2/cooked-index-worker.h b/gdb/dwarf2/cooked-index-worker.h index ad336338fab..0f2fa6cb9de 100644 --- a/gdb/dwarf2/cooked-index-worker.h +++ b/gdb/dwarf2/cooked-index-worker.h @@ -21,11 +21,10 @@ #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;