binutils-gdb/gdb/dwarf2
Tom Tromey e11145903f Switch objfile to hold a list of psymbol readers
This changes objfile::qf to be a forward_list, and then updates all
the uses to iterate over the list.  Note that there is still only ever
a single element in the list; this is handled by clearing the list
whenever an object is added.

gdb/ChangeLog
2021-03-20  Tom Tromey  <tom@tromey.com>

	* dwarf2/read.c (dwarf2_build_psymtabs): Update.
	* symfile.c (syms_from_objfile_1, reread_symbols): Update.
	* symfile-debug.c (objfile::has_partial_symbols)
	(objfile::find_last_source_symtab)
	(objfile::forget_cached_source_info)
	(objfile::map_symtabs_matching_filename, objfile::lookup_symbol)
	(objfile::print_stats, objfile::dump)
	(objfile::expand_symtabs_for_function)
	(objfile::expand_all_symtabs)
	(objfile::expand_symtabs_with_fullname)
	(objfile::map_matching_symbols)
	(objfile::expand_symtabs_matching)
	(objfile::find_pc_sect_compunit_symtab)
	(objfile::map_symbol_filenames)
	(objfile::find_compunit_symtab_by_address)
	(objfile::lookup_global_symbol_language)
	(objfile::require_partial_symbols): Update.
	* psymtab.c (maintenance_print_psymbols)
	(maintenance_info_psymtabs, maintenance_check_psymtabs): Update.
	* objfiles.h (struct objfile) <qf>: Now a forward_list.
	* objfiles.c (objfile_relocate1): Update.
	* elfread.c (elf_symfile_read): Update.
2021-03-20 17:23:45 -06:00
..
abbrev.c
abbrev.h
attribute.c
attribute.h
comp-unit.c Reimplement dwarf_unit_type_name 2021-03-18 12:08:41 -06:00
comp-unit.h
die.h
dwz.c
dwz.h
expr.c
expr.h
frame-tailcall.c
frame-tailcall.h
frame.c Introduce dwarf2/public.h 2021-03-20 17:23:40 -06:00
frame.h
index-cache.c
index-cache.h
index-common.c
index-common.h
index-write.c Change how DWARF index writer finds address map 2021-03-20 17:23:43 -06:00
index-write.h Introduce dwarf2/public.h 2021-03-20 17:23:40 -06:00
leb.c
leb.h
line-header.c
line-header.h
loc.c
loc.h
macro.c
macro.h
public.h Convert quick_symbol_functions to use methods 2021-03-20 17:23:42 -06:00
read.c Switch objfile to hold a list of psymbol readers 2021-03-20 17:23:45 -06:00
read.h Add partial_symtabs parameter to psymtab construction functions 2021-03-20 17:23:45 -06:00
sect-names.h
section.c
section.h
stringify.c Reimplement dwarf_unit_type_name 2021-03-18 12:08:41 -06:00
stringify.h Reimplement dwarf_unit_type_name 2021-03-18 12:08:41 -06:00