summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/symfile.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index d4b0eb1d3e6..ba4eba73fb5 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2018-07-13 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * symfile.c (set_objfile_default_section_offset): Remove struct
+ keyword.
+
2018-07-14 Stafford Horne <shorne@gmail.com>
* (Responsible Maintainers): Add myself as or1k maintainer.
diff --git a/gdb/symfile.c b/gdb/symfile.c
index 62b38bd6182..3614aa3f955 100644
--- a/gdb/symfile.c
+++ b/gdb/symfile.c
@@ -2111,7 +2111,7 @@ set_objfile_default_section_offset (struct objfile *objf,
std::vector<const struct other_sections *>::iterator addrs_sorted_iter
= addrs_sorted.begin ();
- for (const struct other_sections *objf_sect : objf_addrs_sorted)
+ for (const other_sections *objf_sect : objf_addrs_sorted)
{
const char *objf_name = addr_section_name (objf_sect->name.c_str ());
int cmp = -1;