This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 13/36] target.h: Include infrun.h
- From: Pedro Alves <palves at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Mon, 9 Feb 2015 23:20:23 +0000
- Subject: [PATCH 13/36] target.h: Include infrun.h
- Authentication-results: sourceware.org; auth=none
- References: <1423524046-20605-1-git-send-email-palves at redhat dot com>
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-09 Pedro Alves <palves@redhat.com>
* target.h: Include "infrun.h".
---
gdb/target.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/gdb/target.h b/gdb/target.h
index fb60123..6dfba61 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
--
1.9.3