Fixes:
src/gdb/target.h:753:10: error: use of enum ‘exec_direction_kind’ without previous declaration
in C++ mode. We can't forward declare enums.
gdb/ChangeLog:
2015-02-27 Pedro Alves <
[email protected]>
* target.h: Include "infrun.h".
+
+ * target.h: Include "infrun.h".
+
* gdb_proc_service.h: Wrap with EXTERN_C_PUSH/EXTERN_C_POP.
struct expression;
struct dcache_struct;
+#include "infrun.h" /* For enum exec_direction_kind. */
+
/* This include file defines the interface between the main part
of the debugger, and the part which is target-specific, or
specific to the communications interface between us and the