Include objfiles.h in a few .c files
authorTom Tromey <tom@tromey.com>
Sun, 8 Aug 2021 14:53:17 +0000 (08:53 -0600)
committerTom Tromey <tom@tromey.com>
Sun, 8 Aug 2021 14:53:17 +0000 (08:53 -0600)
commita8624232b152c7686701924da7bcb546647b6d09
tree03c7d489da0754be2a6b0769c6b61536815845b3
parent42ddfd0b7a24be9f44127ab18ea8b7a5f2d61ef9
Include objfiles.h in a few .c files

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.
gdb/compile/compile-loc2c.c
gdb/dwarf2/expr.c
gdb/dwarf2/macro.c