aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2025-03-24 15:30:07 -0600
committerTom Tromey <tom@tromey.com>2025-04-01 07:30:10 -0600
commit5703a5019ca9cbd5e389f1915c00adc0c9dcafed (patch)
tree5f87eb99235590e560be9fde40b6eccc41bdf15d /gdb
parent3351f741c8dabb239e411c2a05c248f7a86a9c27 (diff)
downloadbinutils-5703a5019ca9cbd5e389f1915c00adc0c9dcafed.zip
binutils-5703a5019ca9cbd5e389f1915c00adc0c9dcafed.tar.gz
binutils-5703a5019ca9cbd5e389f1915c00adc0c9dcafed.tar.bz2
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 <simon.marchi@efficios.com>
Diffstat (limited to 'gdb')
-rw-r--r--gdb/dwarf2/cooked-index-worker.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/gdb/dwarf2/cooked-index-worker.h b/gdb/dwarf2/cooked-index-worker.h
index ad33633..0f2fa6c 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<cutu_reader>;