aboutsummaryrefslogtreecommitdiff
path: root/gdb/target-section.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/target-section.h')
-rw-r--r--gdb/target-section.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/target-section.h b/gdb/target-section.h
index ff81675..97d9f40 100644
--- a/gdb/target-section.h
+++ b/gdb/target-section.h
@@ -42,12 +42,11 @@ struct target_section
void *owner;
};
-/* Holds an array of target sections. Defined by [SECTIONS..SECTIONS_END[. */
+/* Holds an array of target sections. */
struct target_section_table
{
- struct target_section *sections;
- struct target_section *sections_end;
+ std::vector<struct target_section> sections;
};
#endif /* GDB_TARGET_SECTION_H */