Add dwarf2_per_objfile parameter to process_full_{comp,type}_unit
authorSimon Marchi <simon.marchi@efficios.com>
Wed, 27 May 2020 15:13:58 +0000 (11:13 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Wed, 27 May 2020 15:15:56 +0000 (11:15 -0400)
commit47b14e8676aa8a4d91f9e3af02aed3a4be00186a
treecd7c036018b870c050a26bd7e0206e0a4973b44b
parent43182c09c6f90ebd46c3980e788c751efda8b1a9
Add dwarf2_per_objfile parameter to process_full_{comp,type}_unit

This allows removing the dwarf2_per_cu_data::dwarf2_per_objfile
references in them.

gdb/ChangeLog:

* dwarf2/read.c (process_full_comp_unit): Add dwarf2_per_objfile
parameter.
(process_full_type_unit): Likewise.
(process_queue): Update.

Change-Id: Ie68baa8cc4bf1f81cc67d4ad13a59881b4c3feb6
gdb/ChangeLog
gdb/dwarf2/read.c