summaryrefslogtreecommitdiff
path: root/gdb/target.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/target.h')
-rw-r--r--gdb/target.h19
1 files changed, 11 insertions, 8 deletions
diff --git a/gdb/target.h b/gdb/target.h
index 492ecb515ed..c6c2c389c71 100644
--- a/gdb/target.h
+++ b/gdb/target.h
@@ -38,6 +38,17 @@ struct static_tracepoint_marker;
struct traceframe_info;
struct expression;
struct dcache_struct;
+struct target_section;
+
+/* Holds an array of target sections. Defined by [SECTIONS..SECTIONS_END[. */
+
+struct target_section_table
+{
+ struct target_section *sections;
+ struct target_section *sections_end;
+};
+
+#include "inferior.h"
/* This include file defines the interface between the main part
of the debugger, and the part which is target-specific, or
@@ -2084,14 +2095,6 @@ struct target_section
void *owner;
};
-/* Holds an array of target sections. Defined by [SECTIONS..SECTIONS_END[. */
-
-struct target_section_table
-{
- struct target_section *sections;
- struct target_section *sections_end;
-};
-
/* Return the "section" containing the specified address. */
struct target_section *target_section_by_addr (struct target_ops *target,
CORE_ADDR addr);