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 0774a13512b8f4c4fccd6f0ce7b9aba22ab5de26..b513c4082ac9a52e60f59d372a257d7490a6d84f 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 65e703e137c1d03b1f1e618484af03689df309dc..a512cb514046999ed0c7bc5aefcf431ee8e9304f 100644 (file)
@@ -20,6 +20,7 @@
 #define AX_GDB_H
 
 struct expression;
+union exp_element;
 
 /* Types and enums */
 
index 8d25311d27bac6641e0675689982d835932368f2..5fbae0db59396352a84766687667931412b9cb91 100644 (file)
@@ -25,6 +25,7 @@
 
 #include "doublest.h"
 #include "vec.h"
+#include "expression.h"
 
 struct block;