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"
This commit is contained in:
Yao Qi 2017-01-06 14:26:45 +00:00
parent ad5cba2adb
commit c0b8369c8a
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2017-01-06 Yao Qi <yao.qi@linaro.org>
* ax-gdb.h: Include "ax.h".
2017-01-06 Yao Qi <yao.qi@linaro.org>
* Makefile.in (HFILES_NO_SRCDIR): Replace gdb_ptrace.h

View File

@ -19,6 +19,8 @@
#ifndef AX_GDB_H
#define AX_GDB_H
#include "ax.h" /* For agent_expr_up. */
struct expression;
union exp_element;