diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 20bf9417cfd..6de315081fe 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,10 @@ +2018-03-26 Keith Seitz + + * symfile.c (place_section): Remove "struct" from section_addr_info + in comment. + * windows-nat.c (struct safe_symbol_file_add_args) : Remove + "struct" keyword from section_addr_info. + 2018-03-26 Alan Hayward * regformats/regdef.h (reg): Add constructors. diff --git a/gdb/symfile.c b/gdb/symfile.c index 9571664776d..1e5297ee294 100644 --- a/gdb/symfile.c +++ b/gdb/symfile.c @@ -412,7 +412,7 @@ place_section (bfd *abfd, asection *sect, void *obj) arg->lowest = start_addr + bfd_get_section_size (sect); } -/* Store struct section_addr_info as prepared (made relative and with SECTINDEX +/* Store section_addr_info as prepared (made relative and with SECTINDEX filled-in) by addr_info_make_relative into SECTION_OFFSETS of NUM_SECTIONS entries. */ diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c index f849f1f3221..430cc60993b 100644 --- a/gdb/windows-nat.c +++ b/gdb/windows-nat.c @@ -579,7 +579,7 @@ struct safe_symbol_file_add_args { char *name; int from_tty; - struct section_addr_info *addrs; + section_addr_info *addrs; int mainline; int flags; struct ui_file *err, *out;