From 68c14faadaf5bfd9816ac913dc8858116aa15a84 Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Wed, 22 Oct 2014 04:35:38 +0100 Subject: target.h: Include infrun.h MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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". --- gdb/target.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gdb/target.h') diff --git a/gdb/target.h b/gdb/target.h index 2811c47..a2d64bf 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 -- cgit v1.1