Simplify minsym iteration
[external/binutils.git] / gdb / ChangeLog
index e8178db..7d1ed3f 100644 (file)
@@ -1,3 +1,60 @@
+2019-01-16  Tom Tromey  <tom@tromey.com>
+
+       * objfiles.h (class objfile_msymbols) <iterator>: Change argument
+       type.  Remove no-argument constructor.
+       <iterator::operator++>: Simplify.
+       <begin>: Update.
+       <end>: Use minimal_symbol_count.
+
+2019-01-16  Tom Tromey  <tom@tromey.com>
+
+       * objfiles.h (struct objfile) <psymtabs>: New method.
+       (class objfile_psymtabs): Remove.
+       * psymtab.h (class psymtab_storage) <partial_symtab_range>: New
+       typedef.
+       <range>: New method.
+       (require_partial_symbols): Change return type.
+       * psymtab.c (require_partial_symbols)
+       (psym_expand_symtabs_matching): Update.
+       * mdebugread.c (parse_partial_symbols): Update.
+       * dbxread.c (dbx_end_psymtab): Update.
+
+2019-01-15  Tom Tromey  <tom@tromey.com>
+
+       * symtab.c (lookup_objfile_from_block)
+       (lookup_symbol_in_objfile_symtabs)
+       (basic_lookup_transparent_type_1, find_pc_sect_compunit_symtab)
+       (find_line_symtab, info_sources_command)
+       (default_collect_symbol_completion_matches_break_on)
+       (make_source_files_completion_list): Update.
+       * symmisc.c (print_objfile_statistics, dump_objfile)
+       (maintenance_print_symbols, maintenance_info_symtabs)
+       (maintenance_check_symtabs, maintenance_info_line_tables):
+       Update.
+       * source.c (select_source_symtab)
+       (forget_cached_source_info_for_objfile): Update.
+       * objfiles.h (class objfile_compunits): Remove.
+       (struct objfile) <compunits_range>: New typedef.
+       (compunits): New method.
+       * objfiles.c (objfile_relocate1): Update.
+       * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update.
+       * maint.c (count_symtabs_and_blocks): Update.
+       * linespec.c (iterate_over_all_matching_symtabs): Update.
+       * cp-support.c (add_symbol_overload_list_qualified): Update.
+       * coffread.c (coff_symtab_read): Update.
+       * ada-lang.c (add_nonlocal_symbols)
+       (ada_collect_symbol_completion_matches)
+       (ada_add_global_exceptions): Update.
+
+2019-01-15  Tom Tromey  <tom@tromey.com>
+
+       * progspace.h (program_space) <objfiles_safe_range>: New
+       typedef.
+       <objfiles_safe>: New method.
+       * objfiles.h (class all_objfiles_safe): Remove.
+       * objfiles.c (free_all_objfiles, objfile_purge_solibs): Update.
+       * jit.c (jit_inferior_exit_hook): Update.
+
 2019-01-17  Tom Tromey  <tom@tromey.com>
 
        * progspace.h (program_space) <objfiles_range>: New typedef.
 
        Update copyright year range in all GDB files.
 
-2019-01-01  Joel Brobecker  <brobecker@adacore.com>
+2019-01-01, 19  Joel Brobecker  <brobecker@adacore.com>
 
        * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2018.