From: Pedro Alves Date: Wed, 22 Oct 2014 03:35:38 +0000 (+0100) Subject: target.h: Include infrun.h X-Git-Tag: gdb-7.10-branchpoint~1348 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=68c14faadaf5bfd9816ac913dc8858116aa15a84;p=thirdparty%2Fbinutils-gdb.git 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 * target.h: Include "infrun.h". --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 06df1388cda..7f3043f9c90 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2015-02-27 Pedro Alves + + * target.h: Include "infrun.h". + 2015-02-27 Pedro Alves * gdb_proc_service.h: Wrap with EXTERN_C_PUSH/EXTERN_C_POP. diff --git a/gdb/target.h b/gdb/target.h index 2811c47f078..a2d64bfb9f6 100644 --- a/gdb/target.h +++ b/gdb/target.h @@ -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