diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2020-05-27 11:13:56 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2020-05-27 11:15:55 -0400 |
commit | e3beb21d3521e7f5ba8b40732ea1bfe3cafd9033 (patch) | |
tree | be3efb2d6712d7788a4692ad876add55aeb2e453 /gdb/aarch64-fbsd-tdep.c | |
parent | d460f6600a4452b09ee875519ebc70362863fcba (diff) | |
download | gdb-e3beb21d3521e7f5ba8b40732ea1bfe3cafd9033.zip gdb-e3beb21d3521e7f5ba8b40732ea1bfe3cafd9033.tar.gz gdb-e3beb21d3521e7f5ba8b40732ea1bfe3cafd9033.tar.bz2 |
Remove dwarf2_per_cu_data::dwarf2_per_objfile reference in cutu_reader::keep
Here, it should be safe to use dwarf2_per_cu_data->cu->per_objfile, as
we know that dwarf2_per_cu_data->cu will be set at this point.
Note that this adds a reference to dwarf2_per_cu_data::cu, which we'll
want to remove later, but the current focus is to remove references to
dwarf2_per_cu_data::dwarf2_per_objfile. We'll deal with that in a
subsequent patch.
gdb/ChangeLog:
* dwarf2/read.c (cutu_reader::keep): Access dwarf2_per_objfile
object through m_this_cu->cu.
Change-Id: I8dc26d4db021e0b9e9306eb033965b2704bba87c
Diffstat (limited to 'gdb/aarch64-fbsd-tdep.c')
0 files changed, 0 insertions, 0 deletions