Skip to content

Commit b366c20

Browse files
committed
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.
1 parent 9bb9b2f commit b366c20

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

gdb/ChangeLog

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2019-03-23 Tom Tromey <tom@tromey.com>
2+
3+
* objfiles.h: Include bcache.h.
4+
15
2019-03-23 Tom Tromey <tom@tromey.com>
26

37
* linespec.c (get_current_search_block): Use

gdb/objfiles.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@
3232
#include <vector>
3333
#include "common/next-iterator.h"
3434
#include "common/safe-iterator.h"
35+
#include "bcache.h"
3536

36-
struct bcache;
3737
struct htab;
3838
struct objfile_data;
3939
struct partial_symbol;

0 commit comments

Comments
 (0)