aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.h
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2014-10-22 04:35:38 +0100
committerPedro Alves <palves@redhat.com>2015-02-27 17:28:49 +0000
commit68c14faadaf5bfd9816ac913dc8858116aa15a84 (patch)
tree06ae44724c6233a900b11b18bf4f55e275a11f61 /gdb/target.h
parent749bab0110ddc56835bfe70765675577e3dea05a (diff)
downloadfsf-binutils-gdb-68c14faadaf5bfd9816ac913dc8858116aa15a84.zip
fsf-binutils-gdb-68c14faadaf5bfd9816ac913dc8858116aa15a84.tar.gz
fsf-binutils-gdb-68c14faadaf5bfd9816ac913dc8858116aa15a84.tar.bz2
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".
Diffstat (limited to 'gdb/target.h')
-rw-r--r--gdb/target.h2
1 files changed, 2 insertions, 0 deletions
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