Add dwarf2_per_objfile parameter to recursively_compute_inclusions
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:55 +0000 (11:15 -0400)
commit43182c09c6f90ebd46c3980e788c751efda8b1a9
treedac9967e3eeb50b77974c1b4916542405da2de0e
parent7aa104c423d935656d81ba6612586e98ee9babb5
Add dwarf2_per_objfile parameter to recursively_compute_inclusions

This allows removing dwarf2_per_cu_data::dwarf2_per_objfile references
in recursively_compute_inclusions and compute_compunit_symtab_includes.

gdb/ChangeLog:

* dwarf2/read.c (recursively_compute_inclusions): Add
dwarf2_per_objfile parameter.
(compute_compunit_symtab_includes): Likewise.
(process_cu_includes): Update.

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