Include bcache.h from objfiles.h
authorTom Tromey <tom@tromey.com>
Sat, 23 Mar 2019 16:50:27 +0000 (10:50 -0600)
committerTom Tromey <tom@tromey.com>
Sat, 23 Mar 2019 16:50:27 +0000 (10:50 -0600)
objfiles.h needs "struct bcache" to be complete, so it should include
bcache.h.  This patch implements this.

Tested by rebuilding.

gdb/ChangeLog
2019-03-23  Tom Tromey  <tom@tromey.com>

* objfiles.h: Include bcache.h.

gdb/ChangeLog
gdb/objfiles.h

index 8088b75..df5e80b 100644 (file)
@@ -1,5 +1,9 @@
 2019-03-23  Tom Tromey  <tom@tromey.com>
 
+       * objfiles.h: Include bcache.h.
+
+2019-03-23  Tom Tromey  <tom@tromey.com>
+
        * linespec.c (get_current_search_block): Use
        scoped_restore_current_language.
        * symmisc.c (dump_symtab): Use scoped_restore_current_language.
index b07ddfd..368d9f3 100644 (file)
@@ -32,8 +32,8 @@
 #include <vector>
 #include "common/next-iterator.h"
 #include "common/safe-iterator.h"
+#include "bcache.h"
 
-struct bcache;
 struct htab;
 struct objfile_data;
 struct partial_symbol;