I found a few .c files that rely on objfiles.h, but that only include
it indirectly, via dwarf2/read.h -> psympriv.h. If that include is
removed (something my new DWARF indexer series does), then the build
will break.
It seemed harmless and correct to add these includes now, making the
eventual series a little smaller.
#include "defs.h"
#include "dwarf2.h"
+#include "objfiles.h"
#include "dwarf2/expr.h"
#include "dwarf2/loc.h"
#include "dwarf2/read.h"
#include "frame.h"
#include "gdbsupport/underlying.h"
#include "gdbarch.h"
+#include "objfiles.h"
/* Cookie for gdbarch data. */
#include "buildsym.h"
#include "macrotab.h"
#include "complaints.h"
+#include "objfiles.h"
static void
dwarf2_macro_malformed_definition_complaint (const char *arg1)