Don't include cooked-index.h from dwarf2/read.h
authorTom Tromey <tom@tromey.com>
Thu, 23 Mar 2023 02:47:36 +0000 (20:47 -0600)
committerTom Tromey <tom@tromey.com>
Fri, 20 Oct 2023 19:03:34 +0000 (13:03 -0600)
commitfb8ea9d2ca2eafa83390d44d444d0193b32e19dc
tree52f63c2347d021f45ae1a53f510b002810ebfc4e
parent1fa80e4c8184d87d75ff30b552cc282f5811823a
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.
gdb/dwarf2/index-write.c
gdb/dwarf2/read.h