aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorSergio Durigan Junior <sergiodj@redhat.com>2013-06-26 17:22:52 +0000
committerSergio Durigan Junior <sergiodj@redhat.com>2013-06-26 17:22:52 +0000
commit74e5a34656bca58b23274307778613f14bb77bbd (patch)
tree11b056807741e9a3f2800848212d53d311fc935e /gdb
parent92dcb9ffb9b70efdf5e986244205d3bb444193c5 (diff)
downloadgdb-74e5a34656bca58b23274307778613f14bb77bbd.zip
gdb-74e5a34656bca58b23274307778613f14bb77bbd.tar.gz
gdb-74e5a34656bca58b23274307778613f14bb77bbd.tar.bz2
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 <sergiodj@redhat.com> * ax-gdb.h (union exp_element): Forward declare. * parser-defs.h: Include expression.h.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/ax-gdb.h1
-rw-r--r--gdb/parser-defs.h1
3 files changed, 7 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 0774a13..b513c40 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
diff --git a/gdb/ax-gdb.h b/gdb/ax-gdb.h
index 65e703e..a512cb5 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 8d25311..5fbae0d 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;