diff options
author | Tom Tromey <tom@tromey.com> | 2023-03-22 20:47:36 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2023-10-20 13:03:34 -0600 |
commit | fb8ea9d2ca2eafa83390d44d444d0193b32e19dc (patch) | |
tree | 52f63c2347d021f45ae1a53f510b002810ebfc4e /gdb | |
parent | 1fa80e4c8184d87d75ff30b552cc282f5811823a (diff) | |
download | gdb-fb8ea9d2ca2eafa83390d44d444d0193b32e19dc.zip gdb-fb8ea9d2ca2eafa83390d44d444d0193b32e19dc.tar.gz gdb-fb8ea9d2ca2eafa83390d44d444d0193b32e19dc.tar.bz2 |
Don't include cooked-index.h from dwarf2/read.h
dwarf2/read.h includes cooked-index.h, but it doesn't need to. This
patch removes the inclusion from this header, and adds one to
index-write.c to make up for the absence.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/dwarf2/index-write.c | 1 | ||||
-rw-r--r-- | gdb/dwarf2/read.h | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/gdb/dwarf2/index-write.c b/gdb/dwarf2/index-write.c index 9c1f401..c9d6e63 100644 --- a/gdb/dwarf2/index-write.c +++ b/gdb/dwarf2/index-write.c @@ -30,6 +30,7 @@ #include "gdbsupport/scoped_fd.h" #include "complaints.h" #include "dwarf2/index-common.h" +#include "dwarf2/cooked-index.h" #include "dwarf2.h" #include "dwarf2/read.h" #include "dwarf2/dwz.h" diff --git a/gdb/dwarf2/read.h b/gdb/dwarf2/read.h index 96f38a9..dc7abf2 100644 --- a/gdb/dwarf2/read.h +++ b/gdb/dwarf2/read.h @@ -23,7 +23,6 @@ #include <queue> #include <unordered_map> #include "dwarf2/comp-unit-head.h" -#include "dwarf2/cooked-index.h" #include "dwarf2/file-and-dir.h" #include "dwarf2/index-cache.h" #include "dwarf2/mapped-index.h" |