aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2/expr.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2021-08-08 08:53:17 -0600
committerTom Tromey <tom@tromey.com>2021-08-08 08:53:17 -0600
commita8624232b152c7686701924da7bcb546647b6d09 (patch)
tree03c7d489da0754be2a6b0769c6b61536815845b3 /gdb/dwarf2/expr.c
parent42ddfd0b7a24be9f44127ab18ea8b7a5f2d61ef9 (diff)
downloadbinutils-a8624232b152c7686701924da7bcb546647b6d09.zip
binutils-a8624232b152c7686701924da7bcb546647b6d09.tar.gz
binutils-a8624232b152c7686701924da7bcb546647b6d09.tar.bz2
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.
Diffstat (limited to 'gdb/dwarf2/expr.c')
-rw-r--r--gdb/dwarf2/expr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/dwarf2/expr.c b/gdb/dwarf2/expr.c
index 9e5a356..cc1a72d 100644
--- a/gdb/dwarf2/expr.c
+++ b/gdb/dwarf2/expr.c
@@ -32,6 +32,7 @@
#include "frame.h"
#include "gdbsupport/underlying.h"
#include "gdbarch.h"
+#include "objfiles.h"
/* Cookie for gdbarch data. */