From 74e5a34656bca58b23274307778613f14bb77bbd Mon Sep 17 00:00:00 2001 From: Sergio Durigan Junior Date: Wed, 26 Jun 2013 17:22:52 +0000 Subject: [PATCH] I found this issue when I was debugging something else on IA-64. Both ax-gdb.h and parser-defs.h could be made more self-contained by forward declaring types or including the necessary header files. This commit does this. 2013-06-26 Sergio Durigan Junior * ax-gdb.h (union exp_element): Forward declare. * parser-defs.h: Include expression.h. --- gdb/ChangeLog | 5 +++++ gdb/ax-gdb.h | 1 + gdb/parser-defs.h | 1 + 3 files changed, 7 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 0774a13512b..b513c4082ac 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2013-06-26 Sergio Durigan Junior + + * ax-gdb.h (union exp_element): Forward declare. + * parser-defs.h: Include expression.h. + 2013-06-26 Maciej W. Rozycki * mips-tdep.c (fetch_mips_16): Use unmake_compact_addr. diff --git a/gdb/ax-gdb.h b/gdb/ax-gdb.h index 65e703e137c..a512cb51404 100644 --- a/gdb/ax-gdb.h +++ b/gdb/ax-gdb.h @@ -20,6 +20,7 @@ #define AX_GDB_H struct expression; +union exp_element; /* Types and enums */ diff --git a/gdb/parser-defs.h b/gdb/parser-defs.h index 8d25311d27b..5fbae0db593 100644 --- a/gdb/parser-defs.h +++ b/gdb/parser-defs.h @@ -25,6 +25,7 @@ #include "doublest.h" #include "vec.h" +#include "expression.h" struct block; -- 2.30.2