diff options
author | Tom Tromey <tom@tromey.com> | 2019-03-23 10:50:27 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-03-23 10:50:27 -0600 |
commit | b366c208ee07924cc3cafc1bd4d70548bc91075b (patch) | |
tree | 97a16dc5f5274ad5245bb37b35743d440c922131 /gdb | |
parent | 9bb9b2f9d6d5aa90f579494d8407375a87a9ad0b (diff) | |
download | fsf-binutils-gdb-b366c208ee07924cc3cafc1bd4d70548bc91075b.zip fsf-binutils-gdb-b366c208ee07924cc3cafc1bd4d70548bc91075b.tar.gz fsf-binutils-gdb-b366c208ee07924cc3cafc1bd4d70548bc91075b.tar.bz2 |
Include bcache.h from objfiles.h
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.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/objfiles.h | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 8088b75..df5e80b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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. diff --git a/gdb/objfiles.h b/gdb/objfiles.h index b07ddfd..368d9f3 100644 --- a/gdb/objfiles.h +++ b/gdb/objfiles.h @@ -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; |