summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/expression.h3
2 files changed, 5 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index e4cef31e23f..b831b283148 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
2019-03-24 Tom Tromey <tom@tromey.com>
+ * expression.h: Don't include symtab.h.
+ (struct block): Forward declare.
+
+2019-03-24 Tom Tromey <tom@tromey.com>
+
* c-exp.y (typebase): Remove casts.
* gdbtypes.c (lookup_unsigned_typename, )
(lookup_signed_typename): Remove cast.
diff --git a/gdb/expression.h b/gdb/expression.h
index 36f18be6af6..8db4b9d7e26 100644
--- a/gdb/expression.h
+++ b/gdb/expression.h
@@ -20,9 +20,6 @@
#if !defined (EXPRESSION_H)
#define EXPRESSION_H 1
-
-#include "symtab.h" /* Needed for "struct block" type. */
-
/* While parsing expressions we need to track the innermost lexical block
that we encounter. In some situations we need to track the innermost
block just for symbols, and in other situations we want to track the