aboutsummaryrefslogtreecommitdiff
path: root/gdb/ax-gdb.h
diff options
context:
space:
mode:
authorYao Qi <yao.qi@linaro.org>2017-01-06 14:26:45 +0000
committerYao Qi <yao.qi@linaro.org>2017-01-06 14:26:45 +0000
commitc0b8369c8aa4e05bf8f1b2ce4a79133cf1192a16 (patch)
tree70e182e3f68b70f1ad14dd47d43d416d01e3d379 /gdb/ax-gdb.h
parentad5cba2adbdb8ec216d44515468bde8d96892c3d (diff)
downloadbinutils-c0b8369c8aa4e05bf8f1b2ce4a79133cf1192a16.zip
binutils-c0b8369c8aa4e05bf8f1b2ce4a79133cf1192a16.tar.gz
binutils-c0b8369c8aa4e05bf8f1b2ce4a79133cf1192a16.tar.bz2
Include ax.h in ax-gdb.h
$ make check-headers CHECK_HEADERS="ax-gdb.h" ... ../../binutils-gdb/gdb/ax-gdb.h:104:8: error: 'agent_expr_up' does not name a type extern agent_expr_up gen_trace_for_expr (CORE_ADDR, struct expression *, ^ gdb: 2017-01-06 Yao Qi <yao.qi@linaro.org> * ax-gdb.h: Include "ax.h"
Diffstat (limited to 'gdb/ax-gdb.h')
-rw-r--r--gdb/ax-gdb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/ax-gdb.h b/gdb/ax-gdb.h
index 5c74a0e..8b5ab46 100644
--- a/gdb/ax-gdb.h
+++ b/gdb/ax-gdb.h
@@ -19,6 +19,8 @@
#ifndef AX_GDB_H
#define AX_GDB_H
+#include "ax.h" /* For agent_expr_up. */
+
struct expression;
union exp_element;