aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2014-08-15 17:04:27 +0300
committerEli Zaretskii <eliz@gnu.org>2014-08-15 17:04:27 +0300
commitcb039ba4535a3e9ba59517dc973c842c513b4f05 (patch)
tree9609caba4f8558c90c2086918bdc32e975dac414 /gdb
parenteb7a547ad40c97ca306e29c94678e4eab1822089 (diff)
downloadgdb-cb039ba4535a3e9ba59517dc973c842c513b4f05.zip
gdb-cb039ba4535a3e9ba59517dc973c842c513b4f05.tar.gz
gdb-cb039ba4535a3e9ba59517dc973c842c513b4f05.tar.bz2
Avoid compiler warnings about incomplete parameter types.
gdb/ChangeLog: * dcache.h: Include target.h, to avoid compile time warnings.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/dcache.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 6aa6592..78d1635 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2014-08-15 Eli Zaretskii <eliz@gnu.org>
+
+ * dcache.h: Include target.h, to avoid compile time warnings.
+
2014-08-15 Joel Brobecker <brobecker@adacore.com>
* gdbarch.sh: #include "frame.h" in gdbarch.h. Delete "struct
diff --git a/gdb/dcache.h b/gdb/dcache.h
index 020abd6..75c2b3e 100644
--- a/gdb/dcache.h
+++ b/gdb/dcache.h
@@ -21,6 +21,8 @@
#ifndef DCACHE_H
#define DCACHE_H
+#include "target.h" /* for enum target_xfer_status */
+
typedef struct dcache_struct DCACHE;
/* Invalidate DCACHE. */