]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Pass dwarf2_per_bfd instead of dwarf2_per_objfile to some index-related functions
authorSimon Marchi <simon.marchi@polymtl.ca>
Wed, 8 Apr 2020 03:38:53 +0000 (23:38 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Tue, 12 May 2020 19:24:51 +0000 (15:24 -0400)
commitd4b0ea16296c8ba432e5110d696acdd6979216e4
treec5e945024b865811b5b218934766c9611e063f06
parentf4a3bd8117e21302a124e50fdcf0a2b0513df60d
Pass dwarf2_per_bfd instead of dwarf2_per_objfile to some index-related functions

All these functions actually only need to receive a dwarf2_per_bfd, pass
that instead of dwarf2_per_objfile.

gdb/ChangeLog:

* dwarf2/read.c (create_cu_from_index_list): Replace
dwarf2_per_objfile parameter with dwarf2_per_bfd.
(create_cus_from_index_list): Likewise.
(create_cus_from_index): Likewise.
(create_signatured_type_table_from_index): Likewise.
(create_cus_from_debug_names_list): Likewise.
(create_cus_from_debug_names): Likewise.
(dwarf2_read_gdb_index): Update.
(dwarf2_read_debug_names): Update.
gdb/dwarf2/read.c