target.h: Include infrun.h

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  <palves@redhat.com>

	* target.h: Include "infrun.h".
This commit is contained in:
Pedro Alves 2014-10-22 04:35:38 +01:00
parent 749bab0110
commit 68c14faada
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2015-02-27 Pedro Alves <palves@redhat.com>
* target.h: Include "infrun.h".
2015-02-27 Pedro Alves <palves@redhat.com>
* gdb_proc_service.h: Wrap with EXTERN_C_PUSH/EXTERN_C_POP.

View File

@ -39,6 +39,8 @@ struct traceframe_info;
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