I found this issue when I was debugging something else on IA-64. Both
authorSergio Durigan Junior <sergiodj@redhat.com>
Wed, 26 Jun 2013 17:22:52 +0000 (17:22 +0000)
committerSergio Durigan Junior <sergiodj@redhat.com>
Wed, 26 Jun 2013 17:22:52 +0000 (17:22 +0000)
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  <sergiodj@redhat.com>

* ax-gdb.h (union exp_element): Forward declare.
* parser-defs.h: Include expression.h.

gdb/ChangeLog
gdb/ax-gdb.h
gdb/parser-defs.h

index 0774a13..b513c40 100644 (file)
@@ -1,3 +1,8 @@
+2013-06-26  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * ax-gdb.h (union exp_element): Forward declare.
+       * parser-defs.h: Include expression.h.
+
 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
 
        * mips-tdep.c (fetch_mips_16): Use unmake_compact_addr.
index 65e703e..a512cb5 100644 (file)
@@ -20,6 +20,7 @@
 #define AX_GDB_H
 
 struct expression;
+union exp_element;
 
 /* Types and enums */
 
index 8d25311..5fbae0d 100644 (file)
@@ -25,6 +25,7 @@
 
 #include "doublest.h"
 #include "vec.h"
+#include "expression.h"
 
 struct block;