This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH OBV 02/10] Include ax.h in ax-gdb.h
- From: Yao Qi <qiyaoltc at gmail dot com>
- To: gdb-patches at sourceware dot org
- Date: Fri, 6 Jan 2017 14:18:52 +0000
- Subject: [PATCH OBV 02/10] Include ax.h in ax-gdb.h
- Authentication-results: sourceware.org; auth=none
- References: <1483712340-9157-1-git-send-email-yao.qi@linaro.org>
$ 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"
---
gdb/ax-gdb.h | 2 ++
1 file changed, 2 insertions(+)
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;
--
1.9.1